I am facing very strange issue when retrieving data from result set. Below code should return 3.67 as it's the value persist in Database. But below code is returning 3.67000008 every time. When I tried to get this value from my Junit it's working fine.
double value = resultSet.getDouble(i);
But during opening the screen it's returning 3.67000008. I cross verified that both code is using same oracle driver (ojdbc7-12.1.0.2b). I used below approaches also but result are same:
BigDecimal value = resultSet.getBigDecimal(i);