totn Oracle Functions

Oracle / PLSQL: COSH Function

This Oracle tutorial explains how to use the Oracle/PLSQL COSH function with syntax and examples.

Description

The Oracle/PLSQL COSH function returns the hyperbolic cosine of a number.

Syntax

The syntax for the COSH function in Oracle/PLSQL is:

COSH( number )

Parameters or Arguments

number
The number used to calculate the hyperbolic cosine.

Returns

The COSH function returns a numeric value.

Applies To

The COSH function can be used in the following versions of Oracle/PLSQL:

  • Oracle 12c, Oracle 11g, Oracle 10g, Oracle 9i, Oracle 8i

Example

Let's look at some Oracle COSH function examples and explore how to use the COSH function in Oracle/PLSQL.

For example:

COSH(0.2)
Result: 1.02006675561908

COSH(0.35)
Result: 1.06187781915599

COSH(-3.15)
Result: 11.6894583539049

COSH(200)
Result: 3.61298688406287E86

COSH(0)
Result: 1