![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Eliminating Trailing Zerosby RollyGuy (Chaplain) |
on Jul 17, 2003 at 14:40 UTC ( #275231=note: print w/replies, xml ) | Need Help?? |
$n =~ s/\.?0*$//;
Enjoy.
In Section
Seekers of Perl Wisdom
|
|