Skip to main content

cmToin (Function)

This converts the input given in centimeters into inches.

Syntax

<DOUBLE> unitconversion:cmToin(<INT|LONG|FLOAT|DOUBLE> p1)

Query Parameters

NameDescriptionDefault ValuePossible Data TypesOptionalDynamic
p1The value that needs to be converted from centimeters into inches.INT LONG FLOAT DOUBLENoYes

Example 1

unitconversion:cmToin(100)

Input centimeters value 100 is converted into inches as 39.37.