Fix bug when parsing strings that contain no number.

The parser crashed when you supplied a string like "abc". The parser now returns
FLT_MAX as expected for this sort of input.