Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Help Java B Java Bigdecimal

Related Tutorials


 
 

Share on Google+Share on Google+

Java Bigdecimal

Advertisement
When working with financial, business applications, the programmer should know about the BigDecimal class

Java Bigdecimal

     

When working with financial, business applications, the programmer should know about the BigDecimal class and numeric formatting because you may get into problem when working with Java floating-point numbers. This situation arises because floating-point numbers can't be represented with all decimal numbers and complete accuracy. Java has BigDecimal class in "java.math" package to handle the situation. This class provides operations for arithmetic, scale manipulation, comparison, hashing, and format conversion and provides the user complete control over rounding. behavior.

Read more at:

http:/www.roseindia.net/java/beginners/AddTwoBigNumbers.shtml

Advertisement

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: June 10, 2009

Related Tutorials

Discuss: Java Bigdecimal  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:0
DMCA.com