Do you know where your variables are? | |
PerlMonks |
Re^3: Rounding off the scale value after decimal pointby Anonymous Monk |
on Sep 22, 2012 at 09:06 UTC ( [id://995086]=note: print w/replies, xml ) | Need Help?? |
You can squash trailing zeros with $num =~ s/0+$//;
In Section
Seekers of Perl Wisdom
|
|