qb45advr.hlp (
Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
COS Function Details
◄QuickSCREEN► ◄Details► ◄Example► ◄Contents► ◄Index►
──────────────────────────────────────────────────────────────────────────────
COS Function Details
Syntax
COS(numeric-expression)
The expression, numeric-expression, can be any numeric type.
By default, the cosine is calculated in single precision. If numeric-
expression is a double-precision value, the cosine is calculated in
double precision.
You can convert an angle measurement from degrees to radians by
multiplying the degrees by π/180, where π = 3.141593.
To convert a radian value to degrees, multiply it by 57.2958.