Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
represent value
//gcc 5.0.4 #import <Foundation/Foundation.h> int main (int argc, const char * argv[]) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; NSNumber *anInt = [NSNumber numberWithInt:42]; float asFloat = [anInt floatValue]; NSLog(@"%.2f", asFloat); NSString *asString = [anInt stringValue]; NSLog(@"%@", asString); [pool drain]; return 0; }
run
|
edit
|
history
|
help
0
Interface implementation
enheritance
Class implementation
primitive datatypes objective c
compound intresst in objective c
string replace
NSSet Program in objectice-c
floating in objective c
Func Var and Ops ObjC
book