C# 小数点后截取

MessageBox.Show((1.12).ToString("f1"));

 

小数点后1位。

posted @ 2022-10-09 11:24  je_ck  阅读(43)  评论(0)    收藏  举报