Cast the user input values into floats and ints as needed.