ContentsIndexPreviousNext

B.2.4 Floating Point Precision

AcuODBC Version 5.1 handles floating-point precision differently than earlier versions.

For example, a COBOL file with a double and a float (single-precision) field that both contain "456.78" produce the following values when queried under AcuODBC:

In Version 5.0

Double 456.77999999999997
Single 456.77999877929687

In Version 5.1:

Double 456.78
Single 456.779999