microsToNanos
microsToNanos returns the equivalent number of nanoseconds as the specified microseconds value.
Syntax
microsToNanos(micros)
Parameters
| Parameter | Type | Description |
|---|---|---|
| micros | long | The amount of microseconds to convert to nanoseconds. |
Returns
The equivalent number of nanoseconds as the specified microseconds. Null input values will return NULL_LONG.
Examples
In the following example, a new column (Nanos) is added that converts the specified microseconds into nanoseconds.
micros = 5000
println micros
println microsToNanos(micros)