We are facing a problem with one of our programs. It has to do with Decimal Notation.If you change the decimal as type p decimals 3 then execute the program the value becomes 10 times the original value. If you change it to type p decimals 2 then the value is corrrect after converting to currency. Any inputs are appreciated.
DATA: l TYPE p DECIMALS 2 VALUE '234.567',
charout(16) TYPE c,
charout1(16) TYPE c.
WRITE: l TO charout CURRENCY 'GBP'.
MOVE l TO charout1.
WRITE: / l,