Currently, I am doing it like this:
NSDecimalNumber *myDecimalNumber = // ... assume it's there
NSNumber *number = [NSNumber numberWithDouble:[myDecimalNumber doubleValue]];
[myLabel setText:[myNSNumberFormatter stringFromNumber:number]];
First, I have an NSDecimalNumber object. Then I throw that out to double, which I feel is very very bad. Then that's packaged into NSNumber, which I think will manipulate the value a little bit once again, and which is bad. And then, I feed that to a NSNumberFormatter to print it out nicely. I spent a lot of time in getting that NSNumberFormatter right. Can I re-use it for NSDecimalNumber, or do I have to start from scratch for printing it nicely? I don't want to loose precision of course, but with the current situation I'm sure I do, and the printed output might be wrong to the user.
Any idea?