🌈 搜索
📅  最后修改于: 2022-03-11 15:00:59.361000             🧑  作者: Mango
let tip: Double = 15.2847320 let tipText: String = String(format: "%.2f", tip) // %.2f for two decimal places