WMLScript abs() Function
Complete WMLScript Lang Library
The abs() function returns the absolute value of a number.
Syntax
Part |
Description |
n |
The absolute value returned from the function |
x |
The number to calculate the absolute value from |
Example
var a = Lang.abs(-5);
var b = Lang.abs(-3.4);
|
Result
Complete WMLScript Lang Library
|
|
|
See why there are 20,000+ Ektron integrations worldwide.
Request an INSTANT DEMO or download a FREE TRIAL today. |
|
|
|