`

java保留两位小数

阅读更多

double d = (double)Math.round(12.4577856*100)/100;

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics