LOTUSSCRIPT LANGUAGE


ATn2 function
Ejemplo

Returns the polar coordinate angle, in radians, of a point in the Cartesian plane.

Syntax

ATn2 ( numExprX , numExprY )

Elements

numExprX, numExprY


Return value

ATn2 returns the angular portion of the polar coordinate representation of the point (numExprX, numExprY) in the Cartesian plane.

The range of the return value is -pi to pi, inclusively.

If numExprX is 0, then ATn2 returns one of the following values:


If numExprX is positive, then ATn2(numExprX, numExprY) returns the same value as ATn(numExprY / numExprX).

Language cross-reference

@ATan2 function in formula language

Ejemplo
Véase también


Glosario
¿Desea opinar sobre la Ayuda o sobre la utilidad del producto?