Parse floating point values (almost correctly)