Cos

From MiniScript Wiki
Jump to navigation Jump to search

cos Returns the cosine of the given angle (in radians).


Arguments

Parameter Name Default Value Meaning
radians number angle, in radians, to get the cosine of

Example

cos(0)   // returns 1