...
...
Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | round(number, digits) | Package | | Alias | | Pkg Usage | | |
Description
Excerpt |
---|
|
Rounds a number to a specified number of digits. |
...
Parameters
...
Rounds a number to a specified number of digits.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
number | Number | Yes | Number you want to round. | digits | Number | Yes | Number of digits you want to round the number argument to. | |
Return
...
Type
...
Number
Example
Code Block |
---|
number a = round(2.36547, 2);
print("a= " + a); |
...
Prints: a= 2.37;
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "math_routines" and space = currentSpace ( ) |
---|
labels |
---|
|
...