$Cos

From m204wiki
Revision as of 19:34, 23 July 2015 by ELowell (talk | contribs)
Jump to navigation Jump to search

Cosine

Note: Most Sirius $functions have been deprecated in favor of Object Oriented methods. There is currently no direct OO equivalent for the $Cos function.

The $Cos function returns the cosine of an argument that is given in radians. If the magnitude of the argument exceeds 1015 radians, an error message is printed and a 0 is returned.

Syntax

%num = $Cos(x)