I want to multiply the result of Math.Pow by a double (2 decimals). Here is an example:
const number = 2.01*Math.pow(10,9);
Expected result: 2010000000
Actual Result: 2009999999.9999998
What causes this slight deviation? Is there a solution to this problem without rounding the incorrect number?