(100.12).toInt
(100.12).asInstanceOf[Int]
scala中将doule转换为int
最新推荐文章于 2021-03-09 11:21:42 发布
(100.12).toInt
(100.12).asInstanceOf[Int]