I'm having trouble converting input from a text box to a double. I tried two different ways to code and I get errors (invalid arguments) for both ways. I know I'm headed in the right direction.. where am I off? I underlined where I'm getting the errors.

private void btnVolumeCalculate_Click(object sender, EventArgs e) { // Convert text input to double data type // Radius Input double Radius; Radius = [u]int.Parse(txtBoxRadiusInput)[/u]; // Height Input string.[u]Height[/u] = txtBoxHeightInput.Text; double HeightNumber = [u]double.Parse(Height)[/u]; // Math calculations to follow

Thank you in advance for any nudges in the right direction!

Newbie to coding,

Bethany />

This post has been edited by **tlhIn`toq**: 02 February 2013 - 07:27 AM

Reason for edit:: Fixed code tags