Double
String
String -> Double
Double((str! as NSString).floatValue)
String <- Double
var s = String(format: "%.2f", f)
← 关于SwiftUI 保存图片到本地→