math_mod

Returns the modulo remainder.

Target function

Signature

1math_mod(value, factor)

Returns the modulo remainder.

math_mod is a global callable that can be used wherever an expression is valid. math_mod is part of numeric expression work. Be deliberate about integer versus decimal inputs because several math helpers preserve or infer the result type from their arguments.

Parameters

value
Required value. Supply value positionally unless the signature shows a keyword form.
factor
Required value. Supply factor positionally unless the signature shows a keyword form.

Examples

Basic call

1math_mod(10, 3)
The example keeps numeric inputs explicit so integer and decimal behavior remain visible.