InputField input; int integer_Value_we_Want; integer_Value_we_Want = int.Parse(input.text); //for integer integer_Value_we_Want = float.Parse(input.text); //for float integer_Value_we_Want = double.Parse(input.text); //for double