Abs - method of the Pm object
Description:
Absolute value of a number.
Syntax:
Double Abs(Double nValue)
Parameters:
nValue | (Double) Any valid numeric expression. |
---|
Example:
JavaScriptVBScriptSelect and copy to clipboard
var nVal = Pm.Abs(-3.14);
// Returns 3.14
Dim nVal
nVal = Pm.Abs(-3.14)
' Returns 3.14