Greetings Folks,
This is an old issue but I still wonder if there's a quick solution.
When I multiply a number such as (0.0000001 * 1000000), The answer comes up to 0.099999999999999999 instead of 0.1
Aside from using parseFloat and/or .toFixed, can you tell me of a way to get the correct result of 0.1?
Many Thanks
This is an old issue but I still wonder if there's a quick solution.
When I multiply a number such as (0.0000001 * 1000000), The answer comes up to 0.099999999999999999 instead of 0.1
Aside from using parseFloat and/or .toFixed, can you tell me of a way to get the correct result of 0.1?
Many Thanks