Ok, this has translated into a database issue that I have no idea what to do.
I am retrieving these numbers from a database. As it turns out, when it reads in the values from the database, it is not reading in the whole number, just the E-2. Is there any way to fix this?
I am reading in the number with the ResultSet.getString(int) method and attempting to parse it. I have tried using the ResultSet.getBigDecimal(int) method, but that throws the following error:
java.lang.NumberFormatException
at java.math.BigDecimal.<init>(BigDecimal.java:505)
at java.math.BigDecimal.<init>(BigDecimal.java:728)
at sun.jdbc.odbc.JdbcOdbcResultSet.getBigDecimal(JdbcOdbcResultSet.java:1957)
at RunDB.executeChangeQuery(RunDB.java:206)
at RunDB.<init>(RunDB.java:58)
at CPLFProgram.main(CPLFProgram.java:17)
Since the problem has actually merged with my other current issues, I'm going to cross-post this with the topic I created for the database a few days ago:
http://www.javaprogrammingforums.com...html#post23158