1
RPGLE Convert negative number into decimal
Input field (CHGAMT) is defined as 17S 2 but has a negative value (-14.00) viewed as ’0000000000000140}’ I have to first move this value into a character field and get it into a decimal format again (17S 2) so I can use the value to compare to another field defined the same way. Ultimately, I will need [...]
Answer Question
| December 1, 2009 10:42 PM
RPGLE, RPGLE negative zoned decimal
Input field (CHGAMT) is defined as 17S 2 but has a negative value (-14.00) viewed as ’0000000000000140}’ I have to first move this value into a character field and get it into a decimal format again (17S 2) so I can use the value to compare to another field defined the same way. Ultimately, I will need [...]
1





