- (id)initWithDouble:(double)value;
===== ObjC Sourcecode Example =====
double myDouble = 3.14;
//******************** Initializing NSNumber Object *************************
//** NSNumbers need to be released, if you`re not working with ARC! **
NSNumber *myDoubleNumber = [[NSNumber alloc]initWithDouble:myDouble];
NSLog(@"myDoubleNumber: %@", myDoubleNumber);
==== Output for this example code ====
2012-05-20 19:26:47.831 NSNumberSample[818:f803] myDoubleNumber: 3.14