Fix wonky cases in float parsing.