Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: perl floating number addition

by spx2 (Deacon)
on Jul 18, 2009 at 17:42 UTC ( [id://781363]=note: print w/replies, xml ) Need Help??


in reply to Humans have too many fingers
in thread perl floating number addition

So just calculate with integers in the desired accuracy and shift the decimal point afterwards²!

I agree , that's what I'd do also

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2024-03-28 08:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found