Swift SWIFT | Convertire String in CGFloat Apr 19, 2016 Francesco Sorrentino let _floatVal = CGFloat((stringValue as NSString).floatValue)