数据转换成字符串格式

obj.ToString("#0.0%")//转成百分比,保留一位小数

obj.ToString("#,##0")//转成带千分符的

posted @ 2019-09-27 16:57  Bug专员  阅读(461)  评论(0编辑  收藏  举报