Syntax
RQL
Parameters
| Name | Type | Description |
|---|---|---|
value | Number | The number to round |
decimal_places | Integer | Number of decimal places to round to (optional) |
Return Value
Returns the number rounded to the specified number of decimal places. If decimal_places is omitted, rounds to the nearest integer.
Examples
Round to 2 decimal places
$ Round to 2 decimal places
Round to nearest integer
$ Round to nearest integer
