Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: Strange int() result

by RonW (Priest)
on Jun 18, 2014 at 17:16 UTC ( #1090322=note: print w/replies, xml ) Need Help??


in reply to Re: Strange int() result
in thread Strange int() result

3578444.999999999534339 suggests you are running into the limits of your Perl/PC combination's floating point handling.

Your problem would be better handled with fix point arithmetic. Look at Math::BigInt.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1090322]
help
Chatterbox?
and the monastery is silent...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (9)
As of 2017-02-21 21:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (319 votes). Check out past polls.