list排序: personList.sortWith(compareBy({ it.age }, { it.name })). 四捨五入到整數:String.format("%.0f", 3.14159).toInt(). Kotlin.
確定! 回上一頁