[Zope] DBField (REAL) in FORM-field (decimal problem)

hans hans@beehive.de
Thu, 02 May 2002 10:47:44 +0100


Robin Smidsr=F8d wrote:

>  I'm using the Z DBI DA and when I have a database with a float/real
> value, it's always listed in exponential notation.
>
> What's the correct way to show it as a regular decimal (with dot or
> comma as decimal separator).
>

in DTML (http://www.zope.org/Members/michel/ZB/AppendixA.dtml)
search for var: or fmt

hans

--
-------------------------------------------------------------
Who's got only a hammer sees the world as a nail
hans augustin  (software developer)           hans@beehive.de
beehive elektronische medien GmbH       http://www.beehive.de
phone: +49 30 847-82 0                  fax: +49 30 847-82 299