Siebel eScript Language Reference > Siebel eScript Commands > The Math Object >

Math.acos() Method


This method returns the arc cosine of its parameter, expressed in radians.

Syntax

Math.acos(number)

Parameter
Description

number

A numeric literal or numeric variable

Returns

The arc cosine of number, expressed in radians from 0 to pi, or NaN if number cannot be converted to a number or is greater than 1 or less than -1.

Usage

This method returns the arc cosine of number. The return value is expressed in radians and ranges from 0 to pi. It returns NaN if x cannot be converted to a number, is greater than 1, or is less than -1.

To convert radians to degrees, multiply by 180/Math.PI.

See Also

Math.asin() Method
Math.atan() Method
Math.cos() Method
Math.sin() Method

Siebel eScript Language Reference