aint(x, [kind])
Truncate to a whole number.
Declaration
Syntax
Arguments
x
the input value must be of type real.
kind
the optional input parameter initialises the kind of the result.
Return values
The return value is of type integer(kind) if kind is passed as input parameter. If not, default kind real is returned.
The return value is equal to or nearest largest whole number greater than or
equal to x
not exceeding its magnitude.
Description
aint(x) returns the nearest largest whole number greater than or equal to
x
not exceeding input value's magnitude.
The optional parameter kind
specifies the kind of the result.
Types
Supported argument types is real.
Examples
Result: