Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Tan - method of object Pm

Description:
Returns the tangent of an angle.
Syntax:
Tan(nAngle As Double) As Double
Calling:
n = Pm.Tan(nAngle)
Parameters:
nAngle(Double) Angle in radians. The degrees can be transferred into radians by multiplying the input value by 0.017453293 (=2*Pi/360).
Note:
The method can also be called in the graphic item events for Web Panels.

The method is functional also in Macro expression $.expr.

Example:
Dim nAngle, nCosecant
nAngle = 1.3
nCosecant = 1/Pm.Tan(nAngle)
Navigation:
 
- Pm
 
- Abs
- Cos
- E
- Exp
- LN2
- PI
- Pow
- Sin
- Tan
 
 
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice