Name
Round -- round a floating point number (V1.5)
Synopsis
result = Round(x)
Library
math

Function
This function rounds x to the next integer. In case x is exactly between two integers, it will be rounded to the nearest even integer (half to even rounding), i.e. both 1.5 and 2.5 will be rounded to 2.

Inputs
x
floating point number to round
Results
result
integer result
Example
a = Round(3.7)
This returns 4.

Show TOC