VBScript Atn Function

Definition and Usage

The Cos function can return the cosine of a specified number (angle).

Syntax

Cos(number)
Parameter Description
number Required. Express the value of an angle as a numeric expression.

Instance

Example 1

document.write(Atn(89))

Output:

0.964966028492113

Example 2

document.write(Cos(-50.0))

Output:

0.964966028492113