标签:
let str = "10.0"let double = (str as NSString).doubleValue
swift string转double
原文地址:http://www.cnblogs.com/Kelvin-CN/p/5440358.html