I've decided to use decimal.js to take care of precision issue, howevernew Decimal(90).times(dec.acos(-1)).div(180).cos() returns -6.8678308360248557901e-20 Am I doing something wrong here? How can I get it to result in 0?
Submitted July 20, 2018 at 05:55PM by safeTell
No comments:
Post a Comment