比如100003.33,我只取小数位,取到的结果是0.328125
我想问的是怎样才能取到 0.33,而不是0.32
------解决方案--------------------------------------------------------
decimal iNum = 100003.328125M;
lbResoult.Text = iNum.ToString( "0.00 ");
------解决方案--------------------------------------------------------
decimal db = 100003.328125;
Response.Write(Math.Round(db,2));