Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Re: Re: Re: Eliminating Trailing Zeros

by Trimbach (Curate)
on Jul 17, 2003 at 14:43 UTC ( #275232=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Re: Eliminating Trailing Zeros
in thread Eliminating Trailing Zeros

Yup, but $n=sprintf("%2.4f",$n); will always return a number with a decimal, so that's not an issue.

Gary Blackburn
Trained Killer


Comment on Re: Re: Re: Re: Eliminating Trailing Zeros
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (11)
As of 2014-07-10 22:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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








    Results (217 votes), past polls