I have a Label, let's call it currencyFormattedLabel, the value of which was earlier formatted in another method as currency (with currencyFormatter).
Now, I want to use the number equivalent in that Label. However, when i go to get the number, I only get a value of 0.00.
Maybe this will help explain:
float x = [currencyFormattedLabel.text floatValue];
NSLog(@"x = %.2f", x);
So, if the currencyFormattedLabel is $2.00, this method always ends up returning: x = 0.00 What i want is for it to return x = 2.00.
Is there a way to take my currencyFormattedLabel and get the number value of it?
Thanks for any help you can give!