[Zope3-Users] Re: Time for a Decimal field type in zope.schema?
Philipp von Weitershausen
philipp at weitershausen.de
Thu Aug 31 13:03:57 EDT 2006
Lennart Regebro wrote:
> On 8/31/06, Darryl Cousins
> <darryl at darrylcousins.net.nz> wrote:
>> For what it may be worth, a Decimal field:
> Just a note: The format should be localized. In some countries "0,01" is
> used. (yes, a comma).
I think you're confusing format and precision. Format is a rendering
issue that heavily depends on the request or other language-sensitive
contexts. We have the zope.i18n.locales machinery for that. It already
covers the comma-vs-point problem.
More information about the Zope3-users