Open iconberg opened 5 years ago
I take a closer look at the code, and if iam right the Decimal_cvt uses Lib/decimal.py, so i guess the problem comes from different decimal separators . or ,
If the database uses and delivers , has separator pypyodbc fails to convert cause other separators than . not usable!?
If i try to fetch data with the datatype number(5,2) i got error:
This error happens only if the value has decimals, for example 1.23, if the value has no decimals like 1.00 there is no error.
Database is oracle 12 (dont know if other databases produce this error too) Reproducable with
Tried to workaround with cast(1.23 as float) but it brings error to if the value has decimals:
I have no usable workaround.