math.round保留小数方法Math.round(selectMapNum*100/selectArea.get(i))/100.0);总数*100然后除100.0保留小数版权声明:本文为weixin_44617428原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。原文链接:https://blog.csdn.net/weixin_44617428/article/details/112622047