Core Function Tan

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "<pre> Tan( <expression> ) </pre> === Description === Tan( <expression> ) -- Returns the tangent of the specified angle. === Parameters === ==== expression ==== Any valid num...")
 
 
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
  
Tan( <expression> ) -- Returns the tangent of the specified angle.
+
Returns the tangent of the specified angle.
  
 
=== Parameters ===
 
=== Parameters ===

Latest revision as of 09:59, 3 December 2011

Tan( <expression> )

Contents

Description

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.");
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox