Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Abs - method of object Pm

Description:
Absolute value of a number.
Syntax:
Abs(nValue As Double) As Double
Calling:
n = Pm.Abs(nValue)
Parameters:
nValue(Double) Any valid numeric expression.
Note:
The method can also be called in the graphic item events for Web panels.

The method is functional also in Macro expression $.expr and in the onDraw event of the PmiCanvas graphic item.

Example:
Dim nVal
nVal = Pm.Abs(-3.14) ' Returns 3.14
PROMOTIC 8.3.21 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.Tavičská 845/21 703 00 Ostrava-Vítkovice