Description
The round function rounds the parameter passed to it (i.e. returns the integer number that is closest in value to the parameter). The type of the value returned by this function is always integer.
Parameter
The round function's only parameter is an expression of real type.
Example
round(7.4) returns 7
round(7.5) returns 8
round(-7.4) returns -7
round(-7.5) returns -8
Portability
Operating Systems: All
Standard Pascal: Yes