标签: c# casting double
float number1 =12.1F; double number2 = (double) number1; MessageBox.Show(number2.ToString());
给出结果12.1000003814697.Float是32位大小类型,double是64位类型。母猪我从较小到较大的类型。为什么它会改变变量的值?