0

I tried to calculate the sine of 30 degrees, just for testing and JS returns 0.49999999999999994. The correct answer is 0.5. Can someone explain why sometimes the calculation in JS going in such way?

Ashe23
  • 11
  • 2

0 Answers0