In a table with number datatype I have stored 0.4
String colLabel = rsMetadata.getColumnLabel(i);
recordMap.put(colLabel.toLowerCase(), rs.getString(colLabel));
I use rs.getString to fetch the data.
But in java what I get is 4.00000000000000022204460492503130808473E-01
How can I go about this. This is a generic code where everytime rs.getString is used