Problem showing a number

Aug 1 2009 4:02 PM
string temp;
temp = textBox1.Text.ToString();

double temp2;
temp2 = Convert.ToDouble(temp);
double fhar=(temp2/(5/9))+32;
string fhr = fhar.ToString();
MessageBox.Show(fhr);

Messagebox shows 0 or infinity, depending on what gets in.


Thanks to whoever answer.


Answers (3)