I cannot figure out how to get the integral and decimal value from NSDecimalnumber.
For example, if I have 10.5, how to get 10 and 5?
And if I have 10 and 5, how do I get back to 10.5?
Mmm ok, it looks better!
However, I do have a decimal loss agreement.
This is an application that will be international. If, for example, the user sets the price to "124.2356", I want to download and save the exact number.
Mmm ok, so, but do not follow # decimals. If there is a way to find out which of the current local I am installed.
This is because it represents currency values โโ...
math objective-c cocoa nsdecimalnumber
mamcx
source share