The "emod" Function
Syntax#
| Argument | Type | Description |
|---|---|---|
value | real | The numerical value to modify |
divisor | real | The divisor to apply |
Description#
Returns the modulo (remainder) of a number with Euclidean division. Unlike the built-in mod (%) operator, this function will always return a positive value between zero and the divisor (div).

X1