<< Prev        Next >>

ID : 245

Tan

Function

To return tangent.

Syntax

Tan(formula)

Guaranteed entry

Formula
Specify an angle value. The unit is [degree].

Return value

Return a tangent value.

Description

Tangent is returned.

Related Terms

Sin, Cos, Asin, Acos, Atn, Atn2

Attention

The formula unit is [Degree].

Example

'!TITLE "Calculation of Tangent"
' Calculation of tangent of 45 degree
Sub Sample_Tan

  Dim aaa As Integer

  ' Assign the tangent value of 45 degree to aaa
  aaa = Tan( 45 )

  ' Display "1" on the message output window
  PrintDbg aaa

End Sub

ID : 245

<< Prev        Next >>