Promotic

Cos - function of language VBScript

Description:
Returns the cosine of an angle.
In the PROMOTIC system it is better to use the Pm.Cos method.
Syntax:
Double Cos(Double number)
Parameters:
number(Double) Angle in radians. The degrees can be transferred into radians by multiplying the input value by 0.017453293 (=2*Pi/360).
Example:
VBScriptSelect and copy to clipboard

Dim nAngle, nSecant
nAngle = 1.3   ' Define angle in radians
nSecant = 1 / Cos(nAngle)   ' Calculate secant
PROMOTIC 9.0.17 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice