Implicit conversion:

int number = 10;
float value = number;

Explicit cast:

float value = 10.8f;
int whole = (int)value;

Safer parsing:

if (int.TryParse(text, out int result))
{
    Debug.Log(result);
}

Convert to text:

string text = number.ToString();