Tan

From MiniScript Wiki
Jump to navigation Jump to search

tan returns the tangent of the given angle (in radians).

Arguments

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

Example

tan(pi/4)		// returns 1