Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Sum to Zero?

by thinker (Parson)
on Sep 26, 2002 at 08:23 UTC ( [id://200835]=note: print w/replies, xml ) Need Help??


in reply to Sum to Zero?

Hi leriksen,

When faced with a similair problem in the past, what I did was multiplied the sums by 100 before summing, then divided by 100 to get the result. That precision worked for my currency, yours may differ.

Hope this helps

thinker

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2024-04-26 00:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found