|
Browse by Tags
All Tags » javascript » Python (RSS)
-
It's valid JavaScript and Python too.
-
aikii: As modulo is an integer function, that's asking for problems. On python and ruby, this works fine. Javascript yields WTFed floats : 3.1%1 = 0.10000000000000009 , 5.4 = 0.40000000000000036 Funny that JavaScript's result is a "WTF", yet Python, which returns exactly the same thing, is "fine". But...
Page 1 of 1 (2 items)
|
|
|