Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Floating point problems

by lidden (Deacon)
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 wandering the Monastery: (7)
As of 2014-09-23 19:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (239 votes), past polls