I´m building an app with equations and I have used a numeric keyboard but I want to have a decimal slot on it. The default is only numbers. How do you add a decimal input on
set keyboard type to textField in swift 3
@IBOutlet weak var txtNumber: UITextField! override func viewDidLoad(){ self.txtNumber.keyboardType = .decimalPad }