Using Oracle10gR1 ODBC Driver or Higher Against Oracle10gR1 RDBMS or Higher Selecting NUMBER Ends Up in Truncation of Decimal Places or Return of NAN (Not a Number)

(Doc ID 759449.1)

Last updated on SEPTEMBER 21, 2010

Applies to:

Oracle ODBC Driver - Version: 10.1.0.2 to 11.2.0.1 - Release: 10.1 to 11.2
Information in this document applies to any platform.

Symptoms

Using ODBC driver 10.1.0.2 or higher inside an application connected to RDBMS 10gR1 (10.1.0.2) or higher and performing 

select 0.5 from dual

returns "NAN" (Not a number)

Performing

select 1.5 from dual

ends up in some sort of "truncation" of decimal places. 1.0 instead 1.5 is returned

Connecting to RDBMS 9iR2 (9.2.0.X) or lower problem does not reproduce

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms