小妹妹求助~~double Z2=Z1*i; 我要让Z2的值为整数。代码怎么写哦?给段完整的哦,小妹初学~~~[解决办法]int Z2=convert.ToInt32(Z1*i); 或 int Z2=(int)(Z1*i)[解决办法]int.parse(Z2.tostring());