I used function :
fixedTo(1)
to approximate a number like this:
-3.43321e-11
but the problem is that the result of approximation is:
-0.0
with minus sign.
This is a problem because in math doesn't exist 0 with minus sign and if I do:
if(-0.0 === 0.0){}
it returns me false insted of true. How can I resolve it?