JavaScript has some weird and unexpected behaviors, such as the result of adding 0.1 and 0.2 not being equal to 0.3. Floating point numbers in JavaScript are represented in a way that causes these inconsistencies.
Sort: