ADELIA |
VADELIA |
SADELIA |
WADELIA |
EADELIA |
(I/B) |
(I/B) |
(B) |
(I/B) |
(B) |
Description
Used to calculate the modulo between a numerator and its divisor.
Syntax
Result = &MODULO(Numerator;Divisor)
Parameters
|
Definition |
Content |
Controls |
Result |
Numeric variable with 0 decimals. |
Calculation result. |
|
Numerator |
Numeric constant or variable with 0 decimals |
Modulo operation numerator. |
Mandatory parameter. |
Divisor |
Numeric constant or variable with 0 decimals and a value different from 0. |
Modulo operator divisor. |
Mandatory parameter. |
Note: the result has the same sign as the numerator.
Example
VAR1 = 47
RES = &MODULO(VAR1 ; 5)
* --> RES contains the value 2.