summaryrefslogtreecommitdiffhomepage
path: root/objective-c.html.markdown
diff options
context:
space:
mode:
authorAdam <adam@adambard.com>2013-09-08 21:52:54 -0700
committerAdam <adam@adambard.com>2013-09-08 21:52:54 -0700
commit6172fee1a4a44d53648a26cd7764de9fcea46313 (patch)
treebfb1264276f5d60713e2f9a760672076115faf51 /objective-c.html.markdown
parenta933d419e07fd8af6effa89200b581e904c61679 (diff)
parent599ed0df3012ae578281dd92afc5a48891f56810 (diff)
Merge branch 'master' of https://github.com/adambard/learnxinyminutes-docs
Diffstat (limited to 'objective-c.html.markdown')
-rw-r--r--objective-c.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/objective-c.html.markdown b/objective-c.html.markdown
index 926a4a0d..1ed0ed58 100644
--- a/objective-c.html.markdown
+++ b/objective-c.html.markdown
@@ -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