C#:去除小数点后无效的零

.ToString().TrimEnd('.','0')

来自:http://zhidao.baidu.com/question/241077663.html

 

 

posted @ 2013-01-09 20:14  混蛋程序员  阅读(967)  评论(0)    收藏  举报