Skip to main content

kgTog (Function)

This converts the input given in kilograms into grams.

Syntax

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

Query Parameters

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

Example 1

unitconversion:kgTog(1)

The kilogram value 1 is converted into grams as 1000.