kytschBASIC

Put down that phone!
Please view me on real computer.

COS

Return the cosine of a float value in radians.

Example

PRINT COS(3.1415926536)

LINE BREAK

DEF val#=3.1415926536

PRINT COS(val#)

Output

-1
-1

See also

ABS | ACOS | ASIN | ATAN | BIN | EXP | FRAC | HCOS | HEX | HSIN | HTAN | LOG | LOG10 | RND | SGN | SIN | SQR | TAN