Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

BigDecimal vs. double

807599Jan 19 2007 — edited Jan 20 2007
I've read over the APIs and it mostly sounds like Greek to me.
My purposes are banking and sometimes the numbers can be quite large.
If I need to use DecimalFormat regardless of which type I use (see topic),
can anyone tell me which type I should use to achieve both the precision and accuracy I need?
And, can I get a simple explanation of the difference without having to pursue a math degree?

Thank you.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 17 2007
Added on Jan 19 2007
8 comments
993 views