摘要: 直接把结果拿出来分享:double a = double.Parse("1");double b = double.Parse("5");string str = (a/b).ToString("0%"); //无小数位string str = (a/b).ToString("P"); //P表示二位小数0.00% 阅读全文
posted @ 2010-10-09 00:04 u_must 阅读(5789) 评论(0) 推荐(0) 编辑