On 09/05/2013 12:44 PM, Bauer, Bobby (NIH/CIT) [E] wrote:
> I've spent a nice part of the day trying to figure out how to pad a variable 
> with leading zeroes and still keep the decimal. The variable needs to be 
> formatted nnnnn.nn. Printf with a %d clobbers the decimal. Any suggestions 
> not using SED or AWK?

 ... forgot to mention ...

You could also use REXX.
I like Regina.  Others like OORexx.  Either would do this handily.

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to