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.)



-- 
yours,

Julius Davies
250-592-2284 (Home)
250-893-4579 (Mobile)
http://juliusdavies.ca/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to