Skip to main content

gToug (Function)

This converts the input given in grams into micrograms.

Syntax

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

Query Parameters

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

Example 1

unitconversion:gToug(1)

The gram value 1 is converted into micrograms as 1000000.0.