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?? |
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
In Section
Seekers of Perl Wisdom
|
|