How to move a numeric field to an alphanumeric field without disturbing the value in it.
I have a numeric field(9,2) with value MyVar = 9876543.21
I need to move this (as it is)into an alphanumeric field(12 A), without distorting the value in it.
But if I use %CHAR, it gets moved along with decimals, but getting left-justified, leaving the blanks on right-side.
If i use %EDITC(MyVar:'X'), it gets moved left-justified; also the decimals are missing.
I think Numeric value should be right-justified right?
Pls. let me know if anybody has done this earlier.
Thanks very much,