Sin

From MiniScript Wiki
Revision as of 16:08, 17 March 2020 by 71.226.33.30 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

sin returns the sine of the given angle (in radians).

Arguments

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

Example

sin(pi/2)		// returns 1