Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

VBScript Cos Function

VBScript Cos Function


VBScript reference manual Complete VBScript Reference Manual


The Cos function returns the cosine of a specified number (an angle).

Syntax

Cos(number)

Parameters Description
number Required. A numeric expression representing an angle in radians.

Example

Example

The example above produces the following output:

0.964966028492113

0.964966028492113

Try it »


VBScript reference manual Complete VBScript Reference Manual