Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 565 Bytes

File metadata and controls

36 lines (27 loc) · 565 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

  • Math - General