I am getting the following value from my database when I do
resultSet.getdouble()
2.0006362409E9
I want to perform arithmetic operations on this number.
I tried to get the actual value using BigDecimal.toPlainString()
, then I am getting the following value
2000636240.900000095367431640625
When I try to convert BigDecimal.toPlainString() to double I am getting values again in scientific notation.
I want to divide this number -how can I solve this problem?