摘要: double tax = 11.853; ①tax * 100 ②强制转换为int ③/100.0 连起来就是:(int)(tax * 100) / 100.0 阅读全文
posted @ 2022-01-25 14:25 Inami 阅读(47) 评论(0) 推荐(0)