Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

cm to inches

const cm = 1;

console.log(`cm:${cm} = in:${cmToIn(cm)}`);

function cmToIn(cm){
	var in = cm/2.54;
    return in;
}
 
PREVIOUS NEXT
Tagged: #cm #inches
ADD COMMENT
Topic
Name
4+5 =