I have following code
float m = vScrollBar1.Value;
float a = (100 - m);
textBox1.Text = a.ToString();
float b = (a - 32);
float c = (5 / 9);
b = b * c;
textBox2.Text = b.ToString();
when I scroll the scrollbar, value of textbox1 change gradually but textbox2 value always show zero. I used double also and still get show zero always. Someone please help me out here. Thanks in advance.