ID : 9128
Atn
Function
To return arctangent.
Syntax
Atn(tangent value)
Guaranteed entry
- Tangent value
- Designate 双精度实数型 data.
Return value
Return 双精度实数型 data between -90 and +90. The unit is [Degree].
Description
Arctangent is returned.
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 : 9128

