private void textBox1_TextChanged(object sender, EventArgs e)
{
    var x = textBox1.Text;
    var y = 1000000;
    var answer = x * y;
}
This is my current code. I want to take the user input from textBox1 and multiply it by 1000000 because it needs to convert the user input. But This code doesn't because x technically isn't a numerical value. How would I get this functioning?
 
     
     
     
    