inch to cm
1 inch = 2.54 cm
cm to inches
const cm = 1;
console.log(`cm:${cm} = in:${cmToIn(cm)}`);
function cmToIn(cm){
var in = cm/2.54;
return in;
}
cm to foot
# 1 cm = 0.0328084 foot
# Divide the cm value by 30.48
def cm_to_foot(cm):
return cm/30.48
print(cm_to_foot(1)) # Result- 0.0328084
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us