JavaDoubleToString
- Last Updated: May 15, 2020
- 1 minute read
- DataDirect Connectors
- JDBC
- IBM Db2 5.1
- MySQL 5.1
- Progress OpenEdge 5.1
- SAP Sybase 5.1
- Documentation
Purpose
Determines which algorithm the driver uses when converting a double or float value to a string value. By default, the driver uses its own internal conversion algorithm, which improves performance.
Valid Values
true | false
Behavior
If set to true, the driver uses the JVM
algorithm when converting a double or float value to a string value. If your application
cannot accept rounding differences and you are willing to sacrifice performance, set this
value to true to use the JVM conversion algorithm.
If set to false, the driver uses its own
internal algorithm when converting a double or float value to a string value. This value
improves performance, but slight rounding differences within the allowable error of the
double and float data types can occur when compared to the same conversion using the JVM
algorithm.
Default
false
Data Type
Boolean