round
function
The round
action rounds a number to a specified number of decimals. It belongs to the math category within the data area.
Action Syntax
round $variable
A variable name starting with $
Return Value
This function returns a
NUMBER
value that can be stored in a variable:
$result = round
Valid sizes
tiny
small
medium
large
extra
Tags
digits
number of decimals to round to
Examples
// Basic Usage
$number = round $var
Action code: 444002456
Version: 0.6.4-1
Last updated: 2025-06-13