numericField1.currencyPrefix = @"$";
numericField1.text = @"12345";
numericField1.decimalCount = 2;
[numericField1 becomeFirstResponder];
numericField2.currencyPrefix = @"\\";
numericField2.text = @"1085";
numericLabel.text = @"1085";
numericLabel.currencyPrefix = @"\\";
numericLabel.text = [NSString stringWithFormat:@"%d", (int)([numericField1.numericString doubleValue] * [numericField2.numericString doubleValue])];
istsest/CurrencyNumericTextField
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Currency, numeric TextField and Label for iOS
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published