Skip to main content

miTokm (Function)

This converts the input given in miles into kilometers.

Syntax

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

Query Parameters

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

Example 1

unitconversion:miTokm(1)

The mile value 1 is converted into kilometers as 1.6.