I am having trouble with multiplying my numbers and getting not correct value.
I have numbers 1,2,3,6,12
and 2.95,3.95,6.95,15,95
but when I multiply my number 3 with 2.95 using 2.95 * parseInt('3')
it returns 8.850000000000001
and when I multiply 12 with 15.95 it returns 179.3999999999998.
I dont want this too long zeros and this kind of value .8500000000001
its also returns some of those numbers when they multiply.
how to get rid of this? how can I get complete value like 12 * 15.95
should give 179.40