%1 soooooo smart :)
(0)_(0) and all that I went and did
Don't use float numbers!-)
In javascript, float number operations may not get the exact answer we want, e.g. 1/3 + 1/2 = 0.8333333333333333, 5/6 = 0.8333333333333334, thus 1/3 + 1/2 != 5/6 so how could we deal with this problem?
Why not use .every()
Loading collection data...
%1 soooooo smart :)
(0)_(0) and all that I went and did
Don't use float numbers!-)
In javascript, float number operations may not get the exact answer we want,
e.g. 1/3 + 1/2 = 0.8333333333333333, 5/6 = 0.8333333333333334, thus 1/3 + 1/2 != 5/6
so how could we deal with this problem?
Why not use .every()