Function round( x )
- Description:
-
Rounds a value to the nearest integer.
Formally,
returns the integer that is closest in value
to the argument. If two integers are
equally close, the result is the even one.
- Parameters:
-
- x (floating point)
- a floating point value.
- Return Value (integer):
x
rounded to the nearest integer
- Signature:
- int round(double)