Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://867056]
help
Chatterbox?
What's the matter? Cat got your tongue?...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2017-03-22 22:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (276 votes). Check out past polls.