account for localized floats more robustly.

Normalize floats, strings too, so that they are validated as

    dddddddddd.dd

ref #2853
Merge pull request #2864 from AD7six/2.4-better-float-validation

account for localized floats more robustly.