Sin (Function) — Skript

Addon: Skript · Category: Function

Syntax

sin(n: number) :: number

Description

The sine function. It starts at 0° with a value of 0, goes to 1 at 90°, back to 0 at 180°, to -1 at 270° and then repeats every 360°. Uses degrees, not radians.

Examples

sin(90) = 1
sin(60) = 0.866

View source