references/sleep-functions/long.md

GitHub

long

Category: Math

Source: https://sleep.dashnine.org/manual/long.html


Synopsis

$ long(n)

Convert the specified value to a long scalar

Parameters

n - the value to apply this function to.

Returns

A long scalar.

Examples

Example:

$value = long(3.56);
println($value);

Output:

3

See Also

&cast; &casti; &double; ∫ &uint