diff options
author | Adam Bard <github@adambard.com> | 2013-09-08 21:40:21 -0700 |
---|---|---|
committer | Adam Bard <github@adambard.com> | 2013-09-08 21:40:21 -0700 |
commit | bac1ef1083215f52505646e01d8be54622a0e57b (patch) | |
tree | c1402604185a1121dd8363839a4f6159e005f61b | |
parent | 5a87423e209ee77b53e20f70ccc87c26511c4869 (diff) | |
parent | 3ea52a10845e8e6a052443c12abdc012534c6210 (diff) |
Merge pull request #333 from hako/master
Fixed floating point issue in 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 |