Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 dust plays in a shaft of sunlight...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2017-11-19 03:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (278 votes). Check out past polls.

    Notices?