fixed a bug with the IsValidFloatString/DefinitelyFloatString functions