Share via


Cosh Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Returns the hyperbolic cosine of the specified angle.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
Public Shared Function Cosh ( _
    a As Double _
) As Double
public static double Cosh(
    double a
)
public:
static double Cosh(
    double a
)
static member Cosh : 
        a:float -> float 
public static function Cosh(
    a : double
) : double

Parameters

Return Value

Type: System. . :: . .Double
The hyperbolic cosine of val. If val is equal to NegativeInfinity or PositiveInfinity, PositiveInfinity is returned. If value is equal to NaN, NaN is returned.

Remarks

The angle, value, must be in radians. Multiply by Math..::..PI/180 to convert degrees to radians.

.NET Framework Security

See Also

Reference

Math Class

System Namespace