Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re: Re: Floats with trailing zeros as a hash key

by kilinrax (Deacon)
on May 09, 2003 at 15:05 UTC ( #256898=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Floats with trailing zeros as a hash key
in thread Floats with trailing zeros as a hash key

Then use sprintf? The internal representation of numbers shouldn't really matter - you can always convert them to the right format if needs be.

If it is important, then initialise them all as strings for consistency, at least.

  • Comment on Re: Re: Re: Floats with trailing zeros as a hash key

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2022-08-14 20:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?