9/11/08 2:11 AM, also sprach [EMAIL PROTECTED]:
> I attempted to do that with the following code:
>
> NSDecimalNumberHandler* roundingBehavior = [NSDecimalNumberHandler
> decimalNumberHandlerWithRoundingMode:NSRoundPlain scale:5];
>
> NSDecimalNumber *roundFloat = NSDecimalNumber alloc]
>
cant you just multiply with 1, round it and divide 1?
g
Am 11.09.2008 um 10:11 schrieb Ryan Ragona:
Hey all,
I've been scouring the archives, but coming up without any solution
that
seems to work in my application. Here is the issue:
I have some tiny numbers, like -0.00116916,
Hey all,
I've been scouring the archives, but coming up without any solution that
seems to work in my application. Here is the issue:
I have some tiny numbers, like -0.00116916, for example, that I want
rounded to the 5th decimal place or so. -0.0 is plenty precise for my
purposes.
I att