Make parseFloat more idiomatic (and shorter)