在此程序中,您将学习在Kotlin 中将给定数字四舍五入到小数点后n 位。 示例1:使用格式对数字取整. fun main(args: Array<String>) { val num = 1.34567 ...
確定! 回上一頁