2.176544保留两位小数
1.select Convert(decimal(18,2),2.176544) 结果:2.18
2.select Round(2.176544,2) 结果:2.180000
由此可见Convert转换效果更加完美!
2.176544保留两位小数
1.select Convert(decimal(18,2),2.176544) 结果:2.18
2.select Round(2.176544,2) 结果:2.180000
由此可见Convert转换效果更加完美!
Java计算百分比保留整数的方法,提供了详细的代码示例,一看便懂。
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M