Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 603 Bytes

File metadata and controls

35 lines (27 loc) · 603 Bytes

Round

Description

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

Parameters

Name Type Description
v REAL Real value to round.

Examples

VectorScript

Round(235.24); { returns 235 }
Round(235.73); { returns 236 }

Python

Version

Availability: from All Versions

Category