changes user inputs to floats instead of integers