Skip to main content

kgTot (Function)

This converts the input given in kilograms into tonnes.

Syntax

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

Query Parameters

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

Example 1

unitconversion:kgTot(1)

The kilogram value 1 is converted into tonnes as 0.001.