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

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

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

原文地址:https://www.cnblogs.com/Kprogram/p/2853605.html