Applies to: Math Object
The tan method is use to get the tangent of a number.
Syntax
Math.tan(number)
The number argument is a numeric expression for which the tangent is sought.
Return value
Returns the tangent of a number.
Example
The return value is the tangent of number.
See also: acos Method, asin Method, atan Method, atan2 Method, cos Method, Math Object Methods, sin Method |