Static function
Native
math.abs
Return the absolute, or non-negative value, of a given value
Syntax
math.abs(x)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
x
|
number | — | The number to get the absolute value of. |
Returns
- number