Say I have a string which is £23.56 or $23.56 how can I convert it into -23.56 ?
I have this part
NSMutableString *strAmount = [NSMutableString stringWithString:txtAmount.text];
[strAmount replaceCharactersInRange: [strAmount rangeOfString: strCurrencySymbol] withString:@""];