MOD(1,2)
PURPOSE
This function returns the division remainder of two specified numbers.
PARTS
1 f/c/e | Required - The dividend, where quotient = dividend / divisor. This is converted to an integer value before the computation is made. |
2 f/c/e | Required - The divisor. This is converted to an integer value before the computation is made. |
RETURN TYPE - I
EXAMPLE
define i type i
i = MOD(100,33)
// i = 1 - 100/33=3 with a remainder of 1
i = MOD(100.00,32.33)
// i = 4
// the 100.00 is converted to 100
// the 32.33 is converted to 32
// 100/32 = 4 with a remainter of 4