Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

VBScript Cos function


May 13, 2021 VBScript


Table of contents


VBScript Cos function

The VBScript Cos function returns the cosine value of the angle, as detailed in this section.


VBScript Cos function Complete VBScript reference manual

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

Grammar

Cos(number)

parameter describe
number Required.Reposits a corner as an arc value expression.
<script type="text/vbscript">

document.write(Cos(50.0) & "<br />")
document.write(Cos(-50.0))

</script>

The above example output results:

0.964966028492113
0.964966028492113

Try it out . . .

VBScript Cos function Complete VBScript reference manual