Balance Due: $43.0999999999

Working with fractions in computers can lead to frustration as floating point arithmetic often stuns developers with its seemingly erroneous results. But this isn’t a bug. It’s the nature of the binary representation of floating point arithmetic. Avoid the use of float in webMethods Integration Server with this set of services that uses BigDecimal and avoids the rounding errors of float.

More…