parseInt returning wrong values for values lower than 10^-7

Viewed 32

parseInt(0.000001) returns 0

But

parseInt(0.0000001) returns 1


Does anyone happen to know the reason for this behaviour?
1 Answers
Related