将double类型的小数点后输出指定长度的小数

用Math.Round(Double, Int32)
如Math.Round(3.66, 1);

输出为3.7;

posted @ 2012-07-05 10:33  lockener  阅读(368)  评论(0编辑  收藏  举报