0

Math.sin(30).... Why is it giving a wrong value??

Math object properties ain't accurate

8th Oct 2020, 9:38 AM
Rex Nerdy
Rex Nerdy - avatar
1 ответ
+ 4
Mention the language name in tags, Math.sin calculates the value for radian ,if you want to calculate based on degree than you need to do 30*Math.PI/180
8th Oct 2020, 9:47 AM
Abhay
Abhay - avatar