Update cookies preferences
Promotic

Abs - method of the Pm object

Description:
Absolute value of a number.
Syntax:
Double Abs(Double nValue)
Parameters:
nValue(Double) Any valid numeric expression.
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 nVal = Pm.Abs(-3.14);   // Returns 3.14

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