...
Numeric literal example:
d-codelang-syntax | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ROUND
| |||||||||
round(2.5) |
Output: Generates a column with each row's value Rounds the input value to the nearest integer: 3
.
Expression example:
d-codelang-syntax | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ROUND
| |||||||||
round(MyValue + 2.5) |
Output:
...
Rounds to the nearest integer
...
the sum of 2.5 and the value in the MyValue
column.
Numeric literal example:
d-codelang-syntax | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ROUND(PI
| |||||||||
round(pi(),4) |
Output: Generates a column containing Rounds pi rounded to four decimal points: 3.1416
.
D s | ||
---|---|---|
|
d-codelang-syntax | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ROUND
| |||||||||
round(numeric_value, integer_value) |
...