Open hvelarde opened 6 years ago
This is the way the validation works now:
ipdb> value
u'400,5540'
ipdb> self.type
<type 'float'>
ipdb> self.formatter.parse(value)
*** NumberParseError: Not a valid number for this pattern u'#,##0.###;-#,##0.###'.
The generated regex is wrong, float type can have 53 bits of precision instead of just 3.
I have a couple of fields defined this way:
the validator accepts a number like
-12,345
but fails with something like-12,3456
with: