I have come across a problem while coding in RPG free format.
I need to find the remainder of a decimal division. Consider an example below
D Premium S 11 2 Inz( 1230.10) D Instalments S 2 0 Inz(12) D Remainder S 11 2
how do I calculate the remainder when I divide Premium/Instalments.
%REM is accepting only interger values.
Can you please throw me some ideas if there is any way to use BIFs?
August 3, 2010 4:21 AM
August 5, 2010 2:23 AM