Skip to main content

kmTomi (Function)

This converts the input given in kilometers into miles.

Syntax

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

Query Parameters

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

Example 1

unitconversion:kmTomi(1)

The kilometer value 1 is converted into miles as 0.621.