Tan - Math
Revision as of 07:58, 12 September 2012 by imported>JLundin
Member of: Math Script
Calculates the tangent of the value (in degrees) it is given.
Syntax
float Function tan(float afValue) native global
Parameters
- afValue: The value to get the tangent of, in degrees.
Return Value
The tangent of the passed-in value.
Examples
float x = math.tan(180) ; x == 0
float y = math.tan(45) ; y == 1