js 0.1 + 0.2 code example
Example: 0.1 + 0.2 javascript
in JavaScript 0.1 + 0.2 equals 0.30000000000000004 and not 0.3,
as 0.1 is represented as an endless fraction and is eventually rounded
in JavaScript 0.1 + 0.2 equals 0.30000000000000004 and not 0.3,
as 0.1 is represented as an endless fraction and is eventually rounded