C#忽略decimal多余的0

decimal test=1.2000;
test
.ToString("0.####");

 

posted @ 2017-07-14 09:08  huangzebin  阅读(1125)  评论(0)    收藏  举报