Cos (Function) — Skript
Addon: Skript · Category: Function
Syntax
cos(n: number) :: numberDescription
The cosine function. This is basically the <a href='#sin'>sine</a> shifted by 90°, i.e. <code>cos(a) = sin(a + 90°)</code>, for any number a. Uses degrees, not radians.
Examples
cos(0) = 1
cos(90) = 0