I think you need to write your own validator.

Basically, you need to take appropriate decimal separator (it can be
found in turbogears.i18n.data.<yourlocale> package, see decimal key in
numericSymbols var) and then use formencode's float number validator.

Or, you can simply be less restrictive and allow both comma and dot as
your decimal separator.

Reply via email to