Round

The ROUND function rounds the input. One of three rounding methods can be selected: Down, Normal, or Up.

Input/Output

Number of Connections: 1
InputData TypeDescription
Input1Integer,Double,DecimalA number.

OutputData TypeDescription
Output1DecimalThe result of rounding the input by the selected method (Down, Normal, or Up).

Property

NameProperty TypeDescription
Positionint A positive Integer specifies the number of decimal places to be retained when rounding the number.
A negative Integer specifies the number digits to which the number is to be rounded to.
ModechoiceOne of three rounding methods can be selected:
Normal - Rounds the input to the nearest Integer.
Up - Rounds the input up to the nearest Integer.
Down - Rounds the input down to the nearest Integer.

Topic

Example

PropertyOutput
Input11234.567Position01235
ModeNormal

PropertyOutput
Input15678.1234Position-25600
ModeDown