Quote:

> eg. <cfoutput>#(123.45 - 23.4 eq 100.05)#</cfoutput>

As someone else posted, FP numbers on computers are only ever

appromixations. They are derived sums of inverses for binary numbers,

thus:

0.75 = 1/2 + 1/4

0.33 = 1/4 + 1/16 + 1/64 + 1/256 [etc]

So you're not going to get accurate answers with decimal arithmetic.

Also note that FP numbers are only stored with a specific degree of

accuracy, for example only storing the first eight digits of the number,

and a power of ten to muliply it by.

Adam