How to add a decimal button so I don\'t have to do whole numbers? If i wanted any decimal number like 1.2 or 100.4 or 3.0 or anything like that, how would I add it to the calcul
- (IBAction)Decimal:(id)sender{ NSString *currentText = Text.text; if ([currentText rangeOfString:@"." options:NSBackwardsSearch].length == 0) { Text.text = [Text.text stringByAppendingString:@"."]; } }