Packed Decimal conversion
Posted: Sat May 28, 2005 11:38 pm
I need to convert the numbers usually padded with zeros to a packed decimal number (eg:00000123456789).
I am using a routine to do this but all the leading zeros are being stripped.
Guess this has to do with the Options. I would appreciate if someone could help me...
Thanks.
-Davis
I am using a routine to do this but all the leading zeros are being stripped.
Code: Select all
InputNbr = Oconv(InputNbr, "MCN")
Ans=iconv(InputNbr, "MP")
Thanks.
-Davis