Skip to content

Latest commit

 

History

History
67 lines (55 loc) · 1.81 KB

File metadata and controls

67 lines (55 loc) · 1.81 KB
title ms.custom ms.date ms.prod ms.reviewer ms.suite ms.technology ms.tgt_pltfrm ms.topic dev_langs ms.assetid caps.latest.revision author ms.author manager
Math.acosh Function (JavaScript) | Microsoft Docs
01/18/2017
windows-client-threshold
devlang-javascript
language-reference
JavaScript
TypeScript
DHTML
881dd2a0-36a5-403b-a3dc-523d8e1e1317
3
mikejo5000
mikejo
ghogen

Math.acosh Function (JavaScript)

Returns the hyperbolic arccosine (or inverse hyperbolic cosine) of a number.

Syntax

Math.acosh(number)  

Parameters

The required number argument is a numeric expression.

Return Value

The inverse hyperbolic cosine of the number argument, in radians.

Example

The following code shows how to use the acosh function.

var v1 = Math.acosh(3);  
vary v2 = Math.acosh(-1);  
  
document.write(v1);  
document.write("</br>");  
document.write(v2);  
  
// Output:  
// 1.762747174039086  
// NaN  
  

Remarks

Applies To: Math Object

Requirements

[!INCLUDEjsv12]

See Also

Math.acos Function
Math.asin Function
Math.atan Function
Math.cos Function
Math.sin Function
Math.tan Function
Math Object