[Zope-DB] Oracle... FieldType:number(n,m)

Matthew T. Kromer matt@zope.com
Mon, 13 Jan 2003 10:42:58 -0500


If you can get the latest version of DCOracle2 from CVS and build it 
yourself, it has a solution.  The current version uses sscanf() to 
parse numbers, so the mismatch between the C library it was built under 
(us english) and oracle is causing problems.

I dont have a pre-built binary ready.


On Monday, January 13, 2003, at 10:17 AM, centershock@t-online.de wrote:

> Ahoi Folks,
>
> I have problems to read a field from a Oracle Database. The Type of the
> Field is number(n,m)... so its a float. If I get the value through
> Zope, I always get a rounded value e.g. 12.23 --> 12.00! In the Oracle
> Database the values are correct Float-Values. It's also possible to
> write correct Float-Values into the Table. Perhaps it's because my Zope
> runs in German language. If someone knows this problem please mail me!
>
> Environment:
> os: w2k
> zope 2.6.0 german language
> oracle 8.0
>
> cYa
>
> _______________________________________________
> Zope-DB mailing list
> Zope-DB@zope.org
> http://lists.zope.org/mailman/listinfo/zope-db