Update cookies preferences
Promotic

Abs - function of language VBScript

Description:
Absolute value of a number.
In the PROMOTIC system it is better to use the Pm.Abs method.
Syntax:
Double Abs(Double number)
Parameters:
number(Double) Any valid numeric expression.
Note:
The absolute value of a number is its unsigned magnitude. For example Abs(-1) and Abs(1) returns 1.
Example:
VBScriptSelect and copy to clipboard

Dim n
n = Abs(-1)   ' Returns 1
n = Abs(1)   ' Returns 1
PROMOTIC 9.0.31 SCADA system documentation MICROSYS, spol. s r.o.

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