The ROUND function rounds the input. One of three rounding methods can be selected: Down, Normal, or Up.
Input | Data Type | Description |
---|---|---|
Input1 | Integer,Double,Decimal | A number. |
Output | Data Type | Description |
---|---|---|
Output1 | Decimal | The result of rounding the input by the selected method (Down, Normal, or Up). |
Name | Property Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Position | Integer |
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. |
|||||||||
Mode | choice | One of three rounding methods can be selected:
|
Property | Output | |||
Input 1 | 1234.567 | Position | 0 | 1235 |
Mode | Normal |
Property | Output | |||
Input 1 | 5678.1234 | Position | -2 | 5600 |
Mode | Down |