MathObject.atan2(Double, Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Calculates the inverse tangent of the quotient of the specified numbers.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
static double atan2(double dy, double dx);
[Microsoft.JScript.JSFunction((Microsoft.JScript.JSFunctionAttributeEnum) 0, Microsoft.JScript.JSBuiltin.Math_atan2)]
public static double atan2 (double dy, double dx);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.None, Microsoft.JScript.JSBuiltin.Math_atan2)]
public static double atan2 (double dy, double dx);
[<Microsoft.JScript.JSFunction((Microsoft.JScript.JSFunctionAttributeEnum) 0, Microsoft.JScript.JSBuiltin.Math_atan2)>]
static member atan2 : double * double -> double
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.None, Microsoft.JScript.JSBuiltin.Math_atan2)>]
static member atan2 : double * double -> double
Public Shared Function atan2 (dy As Double, dx As Double) As Double
Parameters
- dy
- Double
The numerator of the quotient to calculate the inverse tangent of.
- dx
- Double
The denominator of the quotient to calculate the inverse tangent of.
Returns
The inverse tangent of dy
/dx
, measured in radians.
- Attributes
Applies to
See also
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา