PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Returns the arc tangent 2 of the values passed in parameter.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 19 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 19
iPhone/iPad This function is now available for iPhone/iPad applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Versions 22 and later
Android Widget This function is now available in Android Widget mode.
Android This function is now available for Android applications.
Java This function is now available for the Java applications.
PHP This function is now available for the PHP sites.
New in version 22
Android Widget This function is now available in Android Widget mode.
Android This function is now available for Android applications.
Java This function is now available for the Java applications.
PHP This function is now available for the PHP sites.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for Android applications.
Java This function is now available for the Java applications.
PHP This function is now available for the PHP sites.
Versions 25 and later
WEBDEV - Browser code This function is now available in browser code.
New in version 25
WEBDEV - Browser code This function is now available in browser code.
WEBDEV - Browser code This function is now available in browser code.
Example
ArcTan2(1, 1) // Returns 45
ArcTan2(1, -1) // Returns 135
ArcTan2(-1, 1) // Returns -45
ArcTan2(-1, -1) // Returns -135
Syntax
<Result> = ArcTan2(<Y> , <X>)
<Result>: Real
  • Angle (in degrees) between:
    • the positive part of the X axis of a plane,
    • and the point of this plane at (X,Y) coordinates.
      This angle is positive for the angles in anti-clockwise direction, also called trigonometric direction (top half of the plane, Y > 0) and negative in the other one (bottom half of the plane, Y < 0).
      This angle is included in the [-180, 180] interval.
  • 0 if the <X> and <Y> parameters are set to 0.
<Y>: Real
Y value.
<X>: Real
X value.
Business / GUI classification : Neutral code
Component : wd250mat.dll
Minimum version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment