Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: Rounding off the scale value after decimal point

by Anonymous Monk
on Sep 22, 2012 at 09:06 UTC ( #995086=note: print w/replies, xml ) Need Help??


in reply to Re^2: Rounding off the scale value after decimal point
in thread Rounding off the scale value after decimal point

You can squash trailing zeros with  $num =~ s/0+$//;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://995086]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2017-01-19 04:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (168 votes). Check out past polls.