references/sleep-functions/uint.md

GitHub

uint

Category: Math

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


Synopsis

$ uint(n)

Interpret the specified value as an unsigned integer

Parameters

n - the value to apply this function to.

Returns

A long scalar

Examples

Example:

$value = uint(-1);
println($value);

Output:

4294967295

See Also

&cast; &casti; &double; ∫ &long