Core Function Tan
From Sputnik Wiki
(Difference between revisions)
UberFoX (Talk | contribs)
(Created page with "<pre> Tan( <expression> ) </pre> === Description === Tan( <expression> ) -- Returns the tangent of the specified angle. === Parameters === ==== expression ==== Any valid num...")
Newer edit →
(Created page with "<pre> Tan( <expression> ) </pre> === Description === Tan( <expression> ) -- Returns the tangent of the specified angle. === Parameters === ==== expression ==== Any valid num...")
Newer edit →
Revision as of 09:58, 3 December 2011
Tan( <expression> )
Contents |
Description
Tan( <expression> ) -- Returns the tangent of the specified angle.
Parameters
expression
Any valid numeric expression.
Return Value
Returns the trigonometric tangent of number.
Remarks
1° = pi / 180 radians.
Example
$param = 45.0; $result = Tan ($param*@PI/180.0); MsgBox("The tangent of $param degrees is $result.");