Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 contemplating the Monastery: (3)
As of 2016-02-08 04:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (266 votes), past polls