PadNumberFieldsToScale
- Last Updated: November 27, 2020
- 1 minute read
- DataDirect Connectors
- JDBC
- Oracle Database 6.0
- Documentation
Purpose
Determines whether the driver pads Number values with zeroes after the decimal to match the scale of their fields when returning them.
Valid values
true | false
Behavior
If set to true, the driver pads Number
values after the decimal with zeros to match scale of the field when returning them. For
example, when executing getStringValue() against a field of the Number(5,2) type that
contains the value 1000, the driver returns 1000.00.
If set to false, the driver does not pad
Number values with zeros after the decimal when returning them.
Data source method
setPadNumberFieldsToScale
Default
true
Data type
String