change user input to take float instead of int values