Java Bigdecimal

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


 
Ads

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

Advertisements

Ads
Share on Google+Share on Google+

Java Bigdecimal

Posted on: June 10, 2009 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Advertisements

Ads
 

Discuss: Java Bigdecimal  

Post your Comment


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

Ads

 

Ads