parse string `s` to float or int,"try: