摘要: 1、保留小数位 今天再做到计算数值百分比的时候,刚开始试了几个都是不行: int num1 = 10, num2 = 8; double percent = num2 / num1; int num1 = 10, num2 = 8; double percent = (double)num2 / n 阅读全文
posted @ 2020-04-24 17:24 wsasdfgasdfg 阅读(253) 评论(0) 推荐(0) 编辑