$Cos
Jump to navigation
Jump to search
Cosine
Note: Many $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)