<< Prev        Next >>

ID : 227

Atn

Function

To return arctangent.

Syntax

Atn(tangent value)

Guaranteed entry

Tangent value
Designate Double Precision Real Number Type data.

Return value

Return Double Precision Real Number Type data between -90 and +90. The unit is [Degree].

Description

Arctangent is returned.

Related Terms

Sin, Cos, Tan, Asin, Acos, Atn2

 

Attention

The return value unit is [Degree].

Example

'!TITLE "Calculation of Arctangent"
' Calculate arctangent of 1
Sub Sample_ATn

  Dim aaa As Integer

  ' Assign the arctangent value of 1 to aaa
  aaa = ATn( 1 )

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

End Sub

ID : 227

<< Prev        Next >>