I think NSInteger, but maybe there's something that can hold larger values? How big can the number be?
views:
281answers:
1
+2
A:
NSDecimalNumber Apple's docs up to 38 digits Well it can contain integers up to that size but does not map to a C data type.
what exactly are you after.
NSNumber also can hold long long int.
Mark
2009-08-26 13:23:05
Just a little clarification, NSDecimalNumber uses scientific format (mantissa x n^exponent) with n = 10, maximum size of mantissa 38 digits and maximum size of exponent short unsigned int. The biggest number it can hold is 34 028 236 692 093 846 346 337 460 743 176 821 145 * 10^127
Dimitar Dimitrov
2009-08-26 14:13:29
Yes but that noes not represent all the figures in an integer.The largest integer it can hold without loosing precision is 10^39-1
Mark
2009-08-27 12:00:11