JavaDoubleToString
- Last Updated: July 15, 2022
- 1 minute read
- DataDirect Connectors
- JDBC
- 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 Methods
public Boolean getJavaDoubleToString()
public void
setJavaDoubleToString(Boolean)
Default
false
Data Type
boolean