[Table of Contents] [docx version]

SpreadsheetML Reference Material - Table of Contents

ATAN2

Syntax:

ATAN2 ( x , y )

Description: Computes the arc tangent of the coordinates x and y.

Arguments:

Name

Type

Description

x

number

The first coordinate.

y

number

The second coordinate.

 

Return Type and Value: number – The arc tangent of x.

However, if both x and y are zero, #DIV/0! is returned.

[Example:

ATAN2(1,1) results in 0.785398163
ATAN2(-2,2) results in 2.35619449
ATAN2(3,-3) results in -0.785398163

end example]