[Zope] DBField (REAL) in FORM-field (decimal problem)
Robin Smidsrød
robin@etools.no
Wed, 1 May 2002 11:32:20 +0200
This is a multi-part message in MIME format.
------=_NextPart_000_0070_01C1F103.DAFFFD10
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
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
------=_NextPart_000_0070_01C1F103.DAFFFD10
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2715.400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I'm using the Z DBI DA and when I have =
a database=20
with a float/real value, it's always listed in exponential=20
notation.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>What's the correct way to show it as a =
regular=20
decimal (with dot or comma as decimal separator).</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>-- Robin</FONT></DIV></BODY></HTML>
------=_NextPart_000_0070_01C1F103.DAFFFD10--