Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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+$//;


Comment on Re^3: Rounding off the scale value after decimal point
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://995086]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2014-07-13 18:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (251 votes), past polls