Function Round converts the specified REAL value to a LONGINT value. The LONGINT result is the value rounded to the nearest whole number.
FUNCTION Round(v : REAL): LONGINT;def vs.Round(v):
return LONGINT| Name | Type | Description |
|---|---|---|
| v | REAL | Real value to round. |
Round(235.24); { returns 235 }
Round(235.73); { returns 236 }Availability: from All Versions