use propernotation for decimals

This commit is contained in:
Frederik Ring 2014-10-30 16:43:49 +01:00
parent 7d0eaa8559
commit 9324987c1f

View File

@ -46,7 +46,7 @@ doStuff()
// Some basic arithmetic works as you'd expect. // Some basic arithmetic works as you'd expect.
1 + 1; // = 2 1 + 1; // = 2
.1 + .2; // = 0.30000000000000004 0.1 + 0.2; // = 0.30000000000000004
8 - 1; // = 7 8 - 1; // = 7
10 * 2; // = 20 10 * 2; // = 20
35 / 5; // = 7 35 / 5; // = 7