YouTip LogoYouTip

Func Cos

# VBScript Cos Function * * Complete VBScript Reference Manual](#) * * * The Cos function returns the cosine of a specified number (angle). ### Syntax Cos(number) | Parameter | Description | | :--- | :--- | | number | Required. A numeric expression representing an angle in radians. | ## Example ## Example document.write(Cos(50.0) & "
") document.write(Cos(-50.0)) The output of the above example: 0.964966028492113 0.964966028492113 [Try it Β»](#) * * Complete VBScript Reference Manual](#)
← Func InstrFunc Atn β†’