Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Re: Re: Eliminating Trailing Zeros

by dreadpiratepeter (Priest)
on Jul 17, 2003 at 14:40 UTC ( [id://275229]=note: print w/replies, xml ) Need Help??


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

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Re: Re: Re: Eliminating Trailing Zeros
by Trimbach (Curate) on Jul 17, 2003 at 14:43 UTC
    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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-04-25 16:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found