Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: subtraction not working rightby strat (Canon) |
on Jan 26, 2006 at 08:58 UTC ( [id://525676]=note: print w/replies, xml ) | Need Help?? |
if not necessary, don't calculate with numbers with after comma positions because in many cases there are storing/rounding problems. Better calculate in cent, not in dollars, and so you just need to store and caculate with plain integers
Best regards,
In Section
Seekers of Perl Wisdom
|
|