# SqlFunctions.Acos 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 cosine is the specified numerical value. This angle is called the arccosine.

## Overloads

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

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

## 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 ACOS (Transact-SQL).

## Acos(Nullable<Decimal>)

```
public:
static Nullable<double> Acos(Nullable<System::Decimal> arg1);
```

```
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "ACOS")]
public static double? Acos (decimal? arg1);
```

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

`Public Shared Function Acos (arg1 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 ACOS (Transact-SQL).

### Applies to

## Acos(Nullable<Double>)

```
public:
static Nullable<double> Acos(Nullable<double> arg1);
```

```
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "ACOS")]
public static double? Acos (double? arg1);
```

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

`Public Shared Function Acos (arg1 As Nullable(Of Double)) As Nullable(Of Double)`

#### Parameters

#### Returns

The angle, in radians, defined by the input cosine value.

- 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 ACOS (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