Share via


cos Method (Windows Scripting - JScript)

 

Returns the cosine of a number.

Syntax

Math.cos(number) 

Remarks

The required number argument is a numeric expression for which the cosine is needed.

The return value is the cosine of its numeric argument.

Applies To: Math Object (Windows Scripting - JScript)

Requirements

Version 1

See Also

acos Method (Windows Scripting - JScript)
asin Method (Windows Scripting - JScript)
atan Method (Windows Scripting - JScript)
sin Method (Windows Scripting - JScript)
tan Method (Windows Scripting - JScript)