Skip to main content

cmTokm (Function)

This converts the input value given in centimeters into kilometers.

Syntax

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

Query Parameters

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

Example 1

unitconversion:cmTokm(100)

The centimeters value 100 is converted into kilometers as 0.001.