ODBC driver incorrectly converting a decimal into an exponetial number
minifiredragon opened this issue · comments
Yes, I am using ODBC, why? Because QODBC, A Quickbooks server interface, uses it to access Quickbooks.
The issues, when I query a field that is decimal it returns an exponential number.
Example: 1.29119897569E-307 is what is returned for 1.98867.
Here is what I tested, their VB Demo tool returns the correct number thru ODBC. I loaded up a PHP server and that too returned the correct number. I am hoping someone familiar with the inner workings of OpenBD will know where to look. Or if someone can point me in the right direction to try and repair the error myself, that would be ok. I am assuming the error maybe in the ODBC.jar file?
As for Java, I am using 8, and I dropped in the missing ODBC drivers from version 6. So far everything is working fine. When I send a decimal to Quickbooks it goes correctly.