Hey Guys ,
I am a N00b here .
I print my currency like this :
I just simply want to use NSSNumberFormatter to print the SumCurrency.text in US Currency format ..( A comma sign after every 3 digits , nothing more than that )
Having a lot of trouble with it ..Please help
If this can be done without NSNumberFormatter also will help a lot.
Is my problem same as this link :
http://groups.jonzu.com/z_apple_using-a-nsnumberformatter-with-a-uitextfield.html
Thanks in Advance .
Regards , N00b
I am a N00b here .
I print my currency like this :
Code:
-(IBAction)buttonPressed1:(id)sender
{
double currency = [Amount1.text doubleValue] + [Amount2.text doubleValue];
SumCurrency.text = [NSString stringWithFormat:@"%0.0f", answer];
}
I just simply want to use NSSNumberFormatter to print the SumCurrency.text in US Currency format ..( A comma sign after every 3 digits , nothing more than that )
Having a lot of trouble with it ..Please help
If this can be done without NSNumberFormatter also will help a lot.
Is my problem same as this link :
http://groups.jonzu.com/z_apple_using-a-nsnumberformatter-with-a-uitextfield.html
Thanks in Advance .
Regards , N00b