Crayon Kingdom A tech, develop and reading blog.

JavaScript (jQuery / AngularJS) Notes (Last updated on 3/5/2016)

Better way to compare two floats When you compare two floats, you'd better not directly compare them. Because in the calculation handled by computer, some minor difference will be introduced into infinities. Try to compare floats if they are equal ... Read more
Posted at 2016-02-07 21:16:37 by Ares Ou