Response.Write(Convert.ToDecimal(0.333333).ToString("f2"));
Response.Write(Convert.ToDecimal(111.3).ToString("f2"));
保留几位 f 后面就写几
Response.Write(Convert.ToDecimal(111.3).ToString("f2"));
保留几位 f 后面就写几
0
0
0
(请您对文章做出评价)
转载于:https://blog.51cto.com/657956565/198869