portableSql

Atan2 Portable SQL Function

Syntax

Atan2 as N (X as N, Y as N)

Arguments

XNumeric

A numeric value.

YNumeric

A numeric value.

Returns

resultNumeric

Returns the arc tangent angle (in radians) of two numbers.

Description

Returns an arc tangent angle (in radians) of two numbers.

Discussion

The Atan2 function returns the arc tangent angle (in radians) of two numbers.

Atan2() function executed on the Northwind Access database
SELECT FIRST 1 atan2(3,12) AS EXPR1 FROM Products
 = 0.244978663126864