What is the right data type for calculations in Java

Posted by Raju on Stack Overflow See other posts from Stack Overflow or by Raju
Published on 2010-06-02T10:10:18Z Indexed on 2010/06/02 10:14 UTC
Read the original article Hit count: 308

Filed under:
|
|

Should we use double or BigDecimal for calculations in Java?

How much is the overhead in terms of performance for BigDecimal as compared to double?

© Stack Overflow or respective owner

Related posts about java

Related posts about datatypes