The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

boyarsky (67) [Avatar] Offline
#1
At today's JavaSig, there was an example of adding doubles. (Not to one showing the rounding error; in was in an actual example where doubles were passed to a method. I think to show plus and minus. Why double and not BigDecimal. double has rounding errors.

I work for a bank. This is on my mind a lot and it bugs me when books propagate using double for math with money.