static float cos(float a)
_INSERT_METHOD_SIGNATURE_HERE_
Description:
Returns the trigonometric cosine of an angle. If the argument is NaN or an infinity, then the result is NaN.
Example
Draw.writeText("cos of PI: " + Math.cos(Math.PI));
The example above draws a calculated value of -1 to the screen.