Extracted float64 parsing logic