change the string to float