DBField (REAL) in FORM-field (decimal problem)
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). -- Robin
Robin Smidsrød 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
participants (2)
-
hans -
Robin Smidsrød