Skip to main content
Version: v0.19.0-alpha 🚧

Round

Alias:Round

Output:SCLDouble

Round an SCL double to a fixed number of decimal places

ParameterTypeRequiredPositionDefault ValueSummary
Value
Number
double✔1The value to round
Precision
DecimalPlaces
int23The 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