Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Floating point problems

by lidden (Curate)
on Oct 24, 2010 at 16:13 UTC ( #867056=note: print w/ replies, xml ) Need Help??


in reply to Re: Floating point problems
in thread Floating point problems

But int is defined as truncating towards zero, if you do not want that behaviour use sprintf.

If you could make int magical and sometimes behave differently. How would you avoid false positives?


Comment on Re^2: Floating point problems
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (16)
As of 2015-07-06 19:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (81 votes), past polls