Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Abs - function of language VBScript

Description:
Absolute value of a number.

For the purposes of PROMOTIC system, it is more usefull to use the method: Pm.Abs.

Syntax:
Abs(number As Double) As Double
Calling:
n = Abs(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:
Dim n
n = Abs(-1) ' Returns 1
n = Abs(1) ' Returns 1
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice