Adding methods that use the locale for parsing numbers. The original
patch came from Andrew van der Voort. Including unit tests however
they could use more tests as I have limited knowledge of international
number formats.
PR: 21282 and 34198
Also adding a more clear error message when the validation method cannot
be found.
|