diff options
author | Adam <adam@adambard.com> | 2013-09-08 21:52:54 -0700 |
---|---|---|
committer | Adam <adam@adambard.com> | 2013-09-08 21:52:54 -0700 |
commit | 6172fee1a4a44d53648a26cd7764de9fcea46313 (patch) | |
tree | bfb1264276f5d60713e2f9a760672076115faf51 /objective-c.html.markdown | |
parent | a933d419e07fd8af6effa89200b581e904c61679 (diff) | |
parent | 599ed0df3012ae578281dd92afc5a48891f56810 (diff) |
Merge branch 'master' of https://github.com/adambard/learnxinyminutes-docs
Diffstat (limited to 'objective-c.html.markdown')
-rw-r--r-- | objective-c.html.markdown | 2 |
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 |