Command Reference
:
Function Reference
:
Function Reference: M
@mod
Element Functions
Floating point remainder
.
Syntax:
@mod
(
x
,
y
)
x:
number
y:
number
Return: number
For non-zero
, returns the decimal remainder of
with the same sign as
where
is the integer floor function.
If
returns 0.
Examples
= @mod(4,3)
returns 1.
Cross-references
See also
@round
.