I have to calculate some floating point variables and my colleague suggest me to use BigDecimal
instead of double
since it will be more precise. But I want to know what it is and how to make most out of BigDecimal
?
I have to calculate some floating point variables and my colleague suggest me to use BigDecimal
instead of double
since it will be more precise. But I want to know what it is and how to make most out of BigDecimal
?