JavaDoubleToString
- Last Updated: June 19, 2019
- 1 minute read
- DataDirect Connectors
- JDBC
- Google BigQuery 6.0
- 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.
Data Source Method
setJavaDoubleToString
Default
false
Data Type
boolean