Which data type should be used to store such a big number like in an example in this question?
Asked
Active
Viewed 1,907 times
1 Answers
4
Probably what you're looking for is:
BigDecimal
if you want decimalsBigInteger
otherwise
Source: java.math Class BigInteger.

trejder
- 17,148
- 27
- 124
- 216

Piotr Wilkin
- 3,446
- 10
- 18