corrected issue on floating point literals.

This commit is contained in:
Wesley Hill 2013-09-09 01:30:43 +01:00
parent 5a87423e20
commit 3ea52a1084

View File

@ -80,7 +80,7 @@ int main (int argc, const char * argv[])
NSLog(@"%f", piFloat);
NSNumber *piDoubleNumber = @3.1415926535;
piDouble = [piDoubleNumber doubleValue];
double piDouble = [piDoubleNumber doubleValue];
NSLog(@"%f", piDouble);
// BOOL literals