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 and in the onDraw event of the PmiCanvas graphic item.

Example:
Dim nAngle, nCosecant
nAngle = 1.3
nCosecant = 1/Pm.Tan(nAngle)
PROMOTIC 8.3.21 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
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