![]() ![]() |
|
COSThe COS function calculates the cosine of any angle using floating point arithmetic, then rounds to the precision implied by the jBC program. This makes it very accurate.
COMMAND SYNTAXCOS(expression) This function calculates the cosine of an expression.
SYNTAX ELEMENTSThe expression must evaluate to a numeric result or a runtime error will occur.
NOTESThe value returned by expression is assumed to be in degrees.
EXAMPLESFOR I = 1 TO 360 |