Round
Alias:Round
Output:SCLDouble
Round an SCL double to a fixed number of decimal places
Parameter | Type | Required | Position | Default Value | Summary |
---|---|---|---|---|---|
Value Number | double | ✔ | 1 | The value to round | |
Precision DecimalPlaces | int | 2 | 3 | The number of decimal places to round to |
Examples​
Example 1​
SCL​
Round 3.1415926535
Expected Output​
3.142
Example 2​
SCL​
Round 3.1415926535 5
Expected Output​
3.14159
Example 3​
SCL​
Round 3.1415926535 0
Expected Output​
3