Overview
Theround transformation rounds a number to a specified number of decimal places using a given rounding mode.
Syntax
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
variable | number | Yes | The number to round |
mode | string | Yes | Rounding mode: "round", "up" (ceil), or "down" (floor) |
decimal | number | Yes | Number of decimal places |