[DB-SIG] Returning floats in DCOracle2
Bob Gailer
ramrom@earthling.net
Sat, 30 Nov 2002 04:43:17 -0700
At 02:57 PM 11/29/2002 +0500, you wrote:
>I have ran into a silly problem with DCOracle2. It returns wrong float
>numbers from SELECT statement.
>
>bash-2.04$ cat test.py
>import DCOracle2
>db = DCOracle2.connect("x/y@z")
>c = db.cursor()
>c.execute("SELECT 0.5 FROM DUAL")
>print c.fetchone()
>
>bash-2.04$ python test.py
>[3.6097722056218853]
Interesting. Using cxOracle this works fine.
Bob Gailer
mailto:ramrom@earthling.net
303 442 2625