Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2016-07-28 08:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (253 votes). Check out past polls.