I can\'t get this to divide into a decimal. It is rounding to value 0.
private void button24_Click(object sender, EventArgs e) { double x = 0;
You can do one of the follow:
double x = 1; double y = 1.5; double ans = x / y;