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.