Loading

摘要: 1.只要求保留N位不四舍5入 float f = 0.55555f; int i =(int)(f * 100); f = (float)(i*1.0)/100; 2.保留N位,四舍五入 . decimal d= decimal.Round(decimal.Parse( "0.55555 "),2) 阅读全文
posted @ 2020-06-23 11:14 是你晨曦哥呀 阅读(240) 评论(0) 推荐(0) 编辑