SyntaxFix
Write A Post
Hire A Developer
Questions
Swift 4/5, use just Float(value).
let string_value : String = "123200" let float_value : Float = Float(string_value) print(float_value)
Answer: 123200