2.5.4.70 Modulus
The Modulus function performs a modulus calculation.
ABNF:
-
Modulus = val val " MODULUS():128"
Required Arguments:
Name: Number
Type: vDouble
An argument that specifies the number to be divided by Divisor.
Name: Divisor
Type: vFloat
An argument that specifies the divisor of the calculation.
Return Value:
This function returns a vNum containing the remainder when Number is divided by Divisor. If Number is a vNum, the unit of the return value is equal to the unit of Number; otherwise the function returns a PtgNum. If Divisor is zero, the function returns a PtgErr with an error code of #DIV/0.