Knowledgebase:
MathAtn
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 09 July 2017 03:58 PM

Syntax

Public Function MathAtn(Number As DoubleAs Double

This function is used to return the angle that has a tangent equal to a given number.

Parameters

Key Description 
Number numeric to get tan angle for it, value of type double.

Return value

Return the angle in radians format,value of type Double.

Sample

Public Sub main()

AlertMessage (MathAtn(1.0)) 'Tangent = 1.0 , Arctangent = 0.785398163397448

AlertMessage (MathAtn(0.0)) 'Tangent = 0.0 , Arctangent = 0.0

End Sub


See Also


Back to VTL Client Script Index

(2 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions