Fix a float parsing bug pointed out by ultimaRatio.