Syntax
Public Function MathTan(Number As Double) As Double
Description
This function used to return the tangent of the specified angle.
Parameters
Key | Description |
Number | Angle value of type double. |
Return value
Returns a double value.
Sample
Public Sub main()AlertMessage (MathTan(0)) ' Tan (0) = 0 . the Alert Message will return 0 'pi = 3.1415926535 tan function takes values from ( 0 to pi/2 )End Sub
See Also