in reply to Re: Re: Zero Padding to the Right of the Decimal
in thread Zero Padding to the Right of the Decimal
Just one more thing, how about this:
printf( "%3.2f\n" , ($i + 0.01) );
Instead of the two lines above?
($_='kkvvttuubbooppuuiiffssqqffssmmiibbddllffss')
=~y~b-v~a-z~s; print
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Re: Zero Padding to the Right of the Decimal
by boo_radley (Parson) on Jan 15, 2004 at 20:54 UTC | |
by revdiablo (Prior) on Jan 15, 2004 at 21:54 UTC | |
Re: Re: Re: Re: Zero Padding to the Right of the Decimal
by Not_a_Number (Prior) on Jan 15, 2004 at 20:59 UTC |
In Section
Seekers of Perl Wisdom