首页 > 代码库 > String to Double in swift

String to Double in swift

var value1:String = "1.1111"

var value2:Double = String.bridgeToObjectiveC(value1)().doubleValue