日期:2014-05-18 浏览次数:20469 次
¥ 20111.000 ¥ 111.00
double[] values = { 20111, 111, 88.8, 123456.55, 0 }; foreach (double value in values) Response.Write("<pre style='margin:0;font-family:宋体'>¥" + value.ToString("F2").PadLeft(10, ' ') + "</pre>");