Returns nearest integer value from argument. When half-way (ex: 0.5 or -1.5), will choose, among the two nearest integers, the one with the greater absolute value (i.e. rounds away from zero).
|x ||the floating-point value to round.|
- A floating point value containing an integer.
- A floating-point point value is returned to avoid overflow of integer types.
(-2) = -2