summaryrefslogtreecommitdiffhomepage
path: root/objective-c.html.markdown
diff options
context:
space:
mode:
authorAdam Bard <github@adambard.com>2013-09-08 21:40:21 -0700
committerAdam Bard <github@adambard.com>2013-09-08 21:40:21 -0700
commitbac1ef1083215f52505646e01d8be54622a0e57b (patch)
treec1402604185a1121dd8363839a4f6159e005f61b /objective-c.html.markdown
parent5a87423e209ee77b53e20f70ccc87c26511c4869 (diff)
parent3ea52a10845e8e6a052443c12abdc012534c6210 (diff)
Merge pull request #333 from hako/master
Fixed floating point issue in objective-c.html.markdown
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