AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Funciones estándar / Funciones de valores numéricos / Funciones matemáticas
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Returns the arc tangent 2 of the values passed in parameter.
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 counterclockwise 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 / UI classification: Neutral code
Component: wd290mat.dll
Versión mínima requerida
  • Versión 17
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/02/2024

Señalar un error o enviar una sugerencia | Ayuda local