# SqlFunctions.Atan Method

## Definition

Important

Some information relates to prerelease product that may be substantially modified before itâ€™s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

A mathematical function that returns the angle, in radians, whose tangent is the specified numerical value. This angle is called the arctangent.

## Overloads

Atan(Nullable<Decimal>) |
A mathematical function that returns the angle, in radians, whose tangent is the specified numerical value. This angle is called the arctangent. |

Atan(Nullable<Double>) |
A mathematical function that returns the angle, in radians, whose tangent is the specified numerical value. This angle is called the arctangent. |

## Remarks

You cannot call this function directly. This function can only appear within a LINQ to Entities query.

This function is translated to a corresponding function in the database. For information about the corresponding SQL Server function, see ATAN (Transact-SQL).

## Atan(Nullable<Decimal>)

```
public:
static Nullable<double> Atan(Nullable<System::Decimal> arg);
```

```
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "ATAN")]
public static double? Atan (decimal? arg);
```

```
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "ATAN")>]
static member Atan : Nullable<decimal> -> Nullable<double>
```

`Public Shared Function Atan (arg As Nullable(Of Decimal)) As Nullable(Of Double)`

#### Parameters

#### Returns

An angle, measured in radians.

- Attributes

### Remarks

You cannot call this function directly. This function can only appear within a LINQ to Entities query.

This function is translated to a corresponding function in the database. For information about the corresponding SQL Server function, see ATAN (Transact-SQL).

### Applies to

## Atan(Nullable<Double>)

```
public:
static Nullable<double> Atan(Nullable<double> arg);
```

```
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "ATAN")]
public static double? Atan (double? arg);
```

```
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "ATAN")>]
static member Atan : Nullable<double> -> Nullable<double>
```

`Public Shared Function Atan (arg As Nullable(Of Double)) As Nullable(Of Double)`

#### Parameters

#### Returns

An angle, measured in radians.

- Attributes

### Remarks

You cannot call this function directly. This function can only appear within a LINQ to Entities query.

This function is translated to a corresponding function in the database. For information about the corresponding SQL Server function, see ATAN (Transact-SQL).

### Applies to

## Feedback

https://aka.ms/ContentUserFeedback.

Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for