Sin

From MiniScript Wiki
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