The REM function returns a numeric value that is the remainder of argument-1 divided by argument-2.
The function type is numeric.
Format >>-FUNCTION REM--(--argument-1 argument-2--)-------------------><
The returned value is the remainder of argument-1 divided by argument-2. It is defined as the expression:
argument-1 - (argument-2 * FUNCTION INTEGER-PART (argument-1/argument-2))
Related Information
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.