SyntaxFix
Write A Post
Hire A Developer
Questions
if you give it 234.545332233 it will give you 234.54
let textData = Double(myTextField.text!)! let text = String(format: "%.2f", arguments: [textData]) mylabel.text = text