Rounds a double-precision floating-point value to the nearest integral value.
- Parameters
-
value | A double-precision floating-point number to be rounded. |
- Returns
- The integer nearest value. If the fractional component of a is halfway between two integers, one of which is even and the other odd, then the even number is returned. Note that this method returns a double instead of an integral type.