We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c18c06e + 9553c84 commit 6794f43Copy full SHA for 6794f43
src/md/2018-19-01-wierd-number-addition.md
@@ -0,0 +1,11 @@
1
+```
2
+console.log(.2+.1); // 0.30000000000000004
3
+console.log(999999999999999999); // 1000000000000000000
4
+console.log(true+true === 2); // true
5
+console.log(true-true === 0); // true // So true must be 1 right ?
6
+console.log(true === 1); // false
7
+console.log('5' + 3); // 53
8
+console.log('5' - 3); // 2
9
10
+[@Darth-koder007](https://github.com/@Darth-koder007)
11
+
0 commit comments