(100.12).toInt
(100.12).asInstanceOf[Int]
scala中将doule转换为int
最新推荐文章于 2021-11-13 19:47:54 发布

(100.12).toInt
(100.12).asInstanceOf[Int]