Is it better to use BigDecimal and BigInteger or only BigDecimal in program to run faster? | Sololearn: Learn to code for FREE!
+ 1

Is it better to use BigDecimal and BigInteger or only BigDecimal in program to run faster?

1st Mar 2018, 9:09 PM
sarah
sarah - avatar
1 ответ
+ 2
basically when you want to have more accuracy u use bigdecimal .... like for deailing with Mony in bank accounts
1st Mar 2018, 9:30 PM
Farshaad Heydari
Farshaad Heydari - avatar