Hi, For what it may be worth, a Decimal field:
Code: http://projects.treefernwebservices.co.nz/tfws.org.nz/file/trunk/src/tfws/field/field.py Doctest: http://www.tfws.org.nz/tfws.field.README.html And a currency type which uses it: Code: http://projects.treefernwebservices.co.nz/tfws.org.nz/file/trunk/src/tfws/currency/app.py Doctest: http://www.tfws.org.nz/tfws.currency.README.currency.html Courteous thanks to plonemall. Sincere regards, Darryl On Thu, 2006-08-31 at 15:07 +0300, Marius Gedminas wrote: > On Fri, 7 Apr 2006 09:37:02 -0400 > Gary Poster <[EMAIL PROTECTED]> wrote: > > > On Apr 7, 2006, at 8:35 AM, Jeff Rush wrote: > > > Perhaps this is an old topic, although I've done searches. I've > > > seen the brief discussion about security proxies and the Decimal > > > type on zope3-users, but (to zope3-dev) what about getting it added > > > to the zope.schema as a first-class field type? So we can have > > > auto-generated HTML forms and such? > > > > > > Has anyone already done this, in some Zope3 branch or private > > > development? > > > > Not as far as I know. > > > > > If not, is there any good reason it should not happen? Must Zope3 > > > support Python versions prior to the introduction of the Decimal type? > > > > Not as far as I know. > > > > > I'm willing to tackle it and make a submission, otherwise. > > > > +1 > > I am going to work on this today. > > Marius Gedminas > _______________________________________________ > Zope3-users mailing list > [email protected] > http://mail.zope.org/mailman/listinfo/zope3-users _______________________________________________ Zope3-users mailing list [email protected] http://mail.zope.org/mailman/listinfo/zope3-users
