|
I know this is an RPG forum but I'm just taking a chance in case some of you are experienced in REXX. I need the output of a numeric variable to be with the leading zeroes & without the decimal. Anyone have any ideas.
If I use Amt = Right(125.56,8,'0') it displays 00125.56
If I use Amt = Right(Format(125.56*100,8,0),8,'0') it displays bbb12556
Any suggestions for a good REXX forum
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.