[Zope-DB] ZPoPyDB and floating values
   
    Andreas Theofilu
     
    andreas@TCnet.at
       
    Sun, 30 Jun 2002 18:06:20 +0200
    
    
  
Hi to all,
I'm using here Zope 2.4.1, Python 2.1.1 and ZPoPyDB 2.0.8 with Postgres
7.0.1 (SuSE 7.2). All works fine except floating point values stored in
the database. When I retrieve fields defined as "decimal(5.1)" for
example, I get only the integer value from the database. Zope seems to
treat all floating point values as simple integers. How can I get these
values correct out of my database?
--=20
Theofilu Andreas
http://www.juergen.at/~andreas
               -------------------------------------------------
                           Enjoy the science of Linux!
                       Genie=DFe die Wissenschaft von Linux!
               -------------------------------------------------