Answers for "cm to inches"

47

cm to inch

1 cm = 0.3937 inch
Posted by: Guest on October-29-2020
22

cm to inches

const cm = 1;

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

function cmToIn(cm){
	var in = cm/2.54;
    return in;
}
Posted by: Guest on November-28-2020
8

cm to inches

1 cm = 0.393701 inch

Divide the cm value by 2.54.
Posted by: Guest on February-02-2021

Browse Popular Code Answers by Language