SQL Server ATAN() Function

Example

Return the arc tangent of a number:

SELECT ATAN(2.5);
Try it Yourself »

Definition and Usage

The ATAN() function returns the arc tangent of a number.

Syntax

ATAN(number)

Parameter Values

Parameter Description
number Required. A numeric value

Technical Details

Works in: SQL Server (starting with 2008), Azure SQL Database, Azure SQL Data Warehouse, Parallel Data Warehouse

More Examples

Example

Return the arc tangent of a number:

SELECT ATAN(-45.01);
Try it Yourself »

Copyright 1999-2023 by Refsnes Data. All Rights Reserved.