I am trying to use the atan2 math function, but I am getting the wrong value in google excel sheet. but getting the correct value in javascript atan2 function. How can I get this value in excelsheet?
my value in excel
atan2(8.6,2.7699)=0.3115
and in javascript -
atan2(8.6,2.7699)=1.259206466337312
I checked the javascript value here http://www.univie.ac.at/moe/rechner/rechner.html
can anyone say why this is happening?
If I want this value in excel, then what formula should I use?
source
share