change input to float