commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julius Davies <>
Subject Re: [Proposal] Create a sandbox commons-money component?
Date Sat, 14 Feb 2009 04:32:13 GMT
Why even bother with the "long" version?  I think Money should use
BigDecimal (or BigInteger... whatever) under the hood exclusively.

BigDecimal/BigInteger already have special optimizations for when they
can fit themselves in a long.

(I would more lean towards BigInteger under the hood, and using it to
represent 4 decimal points.)


Julius Davies
250-592-2284 (Home)
250-893-4579 (Mobile)

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message