Update cookies preferences
Promotic

Sqr - function of language VBScript

Description:
The square root of a number.
In the PROMOTIC system it is better to use the Pm.Sqrt method.
Syntax:
Double Sqr(Double number)
Parameters:
number(Double) Number greater than 0
Note:
For more common types of the square root, see the Exponentiation (^) operator.
Example:
VBScriptSelect and copy to clipboard

Dim nSqr
nSqr = Sqr(4)   ' Returns 2
nSqr = Sqr(23)   ' Returns 4.79583152331272
nSqr = Sqr(0)   ' Returns 0
nSqr = Sqr(-4)   ' generates a runtime error
PROMOTIC 9.0.31 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.