Promotic

Sin - method of the Pm object

Description:
Returns the sine of an angle.
Syntax:
Double Sin(Double 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:
This method is functional also in Macro expression $.expr and in the onDraw event of the PmgCanvas object.
This method is also functional in Web panels.
Example:
JavaScriptVBScriptSelect and copy to clipboard

var nAngle = 1.3;
var nCosecant = 1 / Pm.Sin(nAngle);

History:
Pm8.02.01: Created
PROMOTIC 9.0.27 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.