Cast strings to float values