ROUND function returns the integer closest to its argument. This value is returned as a longword integer with the same structure as the input argument.
Result = ROUND(
The value for which the ROUND function is to be evaluated. This value can be single- or double-precision, real or complex floating-point. ROUND returns a longword integer with the same structure as
. Note that only the real part of a complex argument is rounded and returned.
To print the rounded values of a 2-element vector, enter:
PRINT, ROUND([5.1, 5.9])