Math.abs
abs — Returns the absolute value of a number.
Description
Math.abs(number number)
Parameters
Name | Description | Type | Default | Optional |
---|---|---|---|---|
number | number | No |
Examples
Example #1 – abs example
abs — Returns the absolute value of a number.
Math.abs(number number)
Name | Description | Type | Default | Optional |
---|---|---|---|---|
number | number | No |