%intRound()

Aliases%intRound( ), %integerRound( )
Parametersmixed @value

    Returns the result of rounding the given @value to the nearest integer.

Example:

%intRound( 1.2 ) // Result: 1
%intRound( 1.5 ) // Result: 2
%intRound( 1.8 ) // Result: 2

%intRound( -1.2 ) // Result: -1
%intRound( -1.5 ) // Result: -2
%intRound( -1.8 ) // Result: -2