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

Math.tan() Method


This method returns the tangent of its parameter.

Syntax

Math.tan(number)

Parameter
Description
number
A numeric expression containing the number of radians in the angle whose tangent is to be returned

Returns

The tangent of number, or NaN if number cannot be converted to a number.

Usage

This method returns the tangent of number, expressed in radians, or NaN if number cannot be converted to a number. To convert degrees to radians, multiply by Math.PI/180.

See Also

Math.acos() Method, Math.asin() Method, Math.atan() Method, Math.atan2() Method, Math.cos() Method, and Math.sin() Method


 Siebel eScript Language Reference 
 Published: 18 April 2003