c#数据运算处理时注意的
上午做个东西,只有一运算后的结果就变了
有兴趣的朋友跟踪一下
double CurY = this.panel1.Width * 18.0 / 20.0 / 80.0 * 80.0;
double Cury = this.panel1.Width * 18 / 20 / 80 * 80;
double CurY = this.panel1.Width * 18.0 / 20.0 / 80.0 * 80.0;
double Cury = this.panel1.Width * 18 / 20 / 80 * 80;