> double is prone to all sorts of nasty math errors. > > BigDecimal fixes most of these.
Granted. What I meant to ask was why don't you use an integer (either 32 or 64 bit) to represent quantity, or do you specifically need to have fractions of a unit, e.g. 0.1 kg = 100g or $0.10 = 10 cents? _______________________________________________ hessian-interest mailing list [email protected] http://maillist.caucho.com/mailman/listinfo/hessian-interest
