描述
The ATAN2 function returns the arctangent, or inverse tangent, of the specified x- and ycoordinates, in radians, between -π/2 and +π/2.
语法
ATAN2 (x_num, y_num)
争论
| Argument | 描述 | Required/Optional | 
|---|---|---|
| X_num | The x-coordinate of the point. | Required | 
| Y_num | The y-coordinate of the point. | Required | 
Notes
-  正输出表示与x轴成逆时针方向的Angular。负输出表示顺时针Angular。 
-  如果您希望将ATAN2函数返回的Angular表示为度,可以对其进行转换, -  使用Excel度数功能(= DEGREES(弧度)) 
-  ,或乘以180/PI() 
 
-  
-  ATAN2(a,b)等于ATAN(b/a),除了aTAN2中的a可以等于0。 
-  如果x_num和y_num均为0,则ATAN2返回#DIV/0!错误值。 
-  如果x_num或y_num为非数字,则ATAN2返回#VALUE!错误值。 
适用性
Excel 2007,Excel 2010,Excel 2013,Excel 2016
Example
 
 
 
JavaScript 中的 ATAN2函数 - 无涯教程网无涯教程网提供描述The ATAN2 function returns the arctangent, or inverse tangent, of the specif... https://www.learnfk.com/javascript/advanced-excel-math-trignometric-atan2-function.html
https://www.learnfk.com/javascript/advanced-excel-math-trignometric-atan2-function.html