Jump to navigation Jump to search
- Cosine of a number, argument in degrees.
- Math - Geometry
- Example 1:
- cos 60; // returns 0.5
- Posted on Aug 08, 2006 - 23:54 (UTC)
Be aware that there might be rounding errors in the results of this command.
for example doesn't return the expected '0', but '-4.37114e-008'. So, if you want to compare results of Cosinus, don't use the compare operatorcos 90