VenkatRastapuram
Programmer
Hi,
I am unable get the accurate values using double. I know that I can get accurate using BigDecimal. But now I can not convert the datatype from double to BigDecimal in my classes as they are used in many places. I am able to get the correct value if I make the calculations in BigDecimal and after converting it into double but I am storing that value in the database. When we retrieve the data from the database then I am facing the same problem. Pls solve my problem. Pls let me know any workaround for this problem.
Thanking You
Best Regards,
R.Venkatesh
Ocimum Biosolutions
I am unable get the accurate values using double. I know that I can get accurate using BigDecimal. But now I can not convert the datatype from double to BigDecimal in my classes as they are used in many places. I am able to get the correct value if I make the calculations in BigDecimal and after converting it into double but I am storing that value in the database. When we retrieve the data from the database then I am facing the same problem. Pls solve my problem. Pls let me know any workaround for this problem.
Thanking You
Best Regards,
R.Venkatesh
Ocimum Biosolutions