#import <Foundation/Foundation.h>
int main() {
NSAutoreleasePool *pool = [NSAutoreleasePool new];
NSNumber *comoInt = [NSNumber numberWithInt:42];
float comoFloat = [comoInt floatValue];
NSLog(@"%.2f", comoFloat);
NSString *comoString = [comoInt stringValue];
NSLog(@"%@", comoString);
[pool drain];
return 0;
}
I2ltcG9ydCA8Rm91bmRhdGlvbi9Gb3VuZGF0aW9uLmg+CgppbnQgbWFpbigpIHsKCU5TQXV0b3JlbGVhc2VQb29sICpwb29sID0gW05TQXV0b3JlbGVhc2VQb29sIG5ld107CglOU051bWJlciAqY29tb0ludCA9IFtOU051bWJlciBudW1iZXJXaXRoSW50OjQyXTsKICAgIGZsb2F0IGNvbW9GbG9hdCA9IFtjb21vSW50IGZsb2F0VmFsdWVdOwogICAgTlNMb2coQCIlLjJmIiwgY29tb0Zsb2F0KTsKICAgIE5TU3RyaW5nICpjb21vU3RyaW5nID0gW2NvbW9JbnQgc3RyaW5nVmFsdWVdOwogICAgTlNMb2coQCIlQCIsIGNvbW9TdHJpbmcpOwoJW3Bvb2wgZHJhaW5dOwoJcmV0dXJuIDA7Cn0KCg==