I need to convert numeric values to character keeping the leading zeros and when the value is a negative, I need to prepend the negative sign in rpgle.
Example: Positive Amount : 00005679.05 = 5,769.05
Negative Amount: 00000-500.25 = -500.25
I've tried the editc with the 'X' edit code but i need the negative sign.
AS400 with os v5r4
December 2, 2010 5:11 PM
December 4, 2010 3:37 PM