I have a couple of fields defined this way:
class IPin(model.Schema):
"""A Pin."""
...
latitude = schema.Float(
title=_(u'label_latitude', default=u'Latitude'),
required=True,
default=0.0,
)
longitude = schema.Float(
title=_(u'label_longitude', default=u'Longitude'),
required=True,
default=0.0,
)
the validator accepts a number like -12,345 but fails with something like -12,3456 with:
The entered value is not a valid decimal literal.