Is there a datatype in Java that stores a decimal number more precisely than a double?
double
you can use a BigDecimal
To calculate with with BigDeciamls this class provides special methods that are used instead of the standard operators e.g. + - * / ... that you from int, double and so on...
+ - * / ...