modulo
function
The modulo
action calculate the modulo (remainder) of a division. It belongs to the math category within the data area.
Action Syntax
modulo $variable by $variable
A variable name starting with $ followed by a value followed by A variable name starting with $
modulo $variable by 123
A variable name starting with $ followed by a value followed by A numeric value
Return Value
This function returns a
NUMBER
value that can be stored in a variable:
$result = modulo
Examples
// Basic Usage
$number = modulo $a by $b
Action code: 519920191
Version: 0.6.4-0
Last updated: 2025-06-13