Tan - Math
Revision as of 11:53, 8 October 2012 by imported>JustinOther (→Examples: Floatified float params)
Member of: Math Script
Calculates the tangent of the value (in degrees) it is given.
SyntaxEdit
float Function tan(float afValue) native global
ParametersEdit
- afValue: The value to get the tangent of, in degrees.
Return ValueEdit
The tangent of the passed-in value.
ExamplesEdit
float x = math.tan(180.0) ; x == 0
float y = math.tan(45.0) ; y == 1