[TriLUG] Money in mysql

Phillip Rhodes mindcrime at cpphacker.co.uk
Thu Oct 14 09:30:11 EDT 2004


Tanner Lovelace wrote:

> Yep.  Look up "catastrophic cancellation" in google to find out more
> about that.  Actually, if you misspell it as "catastrophic cancelation"
> you find this web page:
> 
> http://www.cs.princeton.edu/introcs/91float/

Great article! Thanks for posting that, Tanner.  Not sure if MPF
is dealing with Java or not, but I am... :-)

Fortunately we haven't been bitten (yet) by using java's float and
double datatypes for currency calculations.  But at least we're aware
of the issue(s) now and can start making adjustments.


TTYL,


Phil




More information about the TriLUG mailing list