# Difference between revisions of "Abs"

Jump to navigation
Jump to search

(Created page with "The <msinline>abs</msinline> function returns the absolute value of the given number. === Arguments === {| class="wikitable" |- ! Parameter Name !! Default Value !! Meaning...") |
|||

Line 15: | Line 15: | ||

[[Category:Intrinsic Functions]] | [[Category:Intrinsic Functions]] | ||

+ | [[Category:Numeric Functions]] |

## Latest revision as of 03:56, 11 March 2020

The `abs`

function returns the absolute value of the given number.

### Arguments

Parameter Name | Default Value | Meaning |
---|---|---|

x | 0 | number to take the absolute value of |

## Example

```
abs(-42) // returns 42
```