Function: uint

Syntax

uint (<num>)

Type

numeric

Returns

The highest (i.e. rounded up) integer value.

Parameters

Examples

The following returns the value 5.

numeric i = uint(5)

The following returns the value 6.

i = uint(5.01)

The following returns the value 6.

i = uint(5.9)

The following returns the value -6.

i = uint(-5.9)

See Also

Functions:

int (numeric), nint (numeric)