convert text box values to floats