Do you know where your variables are? | |
PerlMonks |
Re: Eliminating Trailing Zerosby jmcnamara (Monsignor) |
on Jul 17, 2003 at 15:18 UTC ( [id://275243]=note: print w/replies, xml ) | Need Help?? |
Use the g format instead of f and no further formatting should be required: See the sprintf manpage for more details:
--
In Section
Seekers of Perl Wisdom
|
|