Skip to main content

sTons (Function)

This converts the input given in seconds into nanoseconds.

Syntax

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

Query Parameters

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

Example 1

unitconversion:sTons(1)

The second value 1 is converted into nanoseconds as 1000000000.0 .