July 8, 2009
1:50 a.m.
Nicolas Cellier wrote:
Ignacio, not sure your bank handle money with inexact floating point arithmetic...
Note that it depends on the application... if pricing is inexact, then being off by $0.01 is fine. The big issue is the confusion between "1.3" as a floating point value, and "1.3" as the scaled decimal value. Andres.