long round(double val)
Returns the closest long integer to the specified double argument, with with ties rounding up.
Input Parameters
val | Integer A floating-point value to be rounded to a long. |
Return Value
Integer The value of the argument rounded to the nearest long value. |