The "emod" Function
#
SyntaxArgument | Type | Description |
---|---|---|
value | real | The numerical value to modify |
divisor | real | The divisor to apply |
#
DescriptionReturns 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
).