读书人

scala中将doule变换为int

发布时间: 2012-10-29 10:03:53 作者: rapoo

scala中将doule转换为int

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

读书人网 >编程

热点推荐