M
Math
Arcade Native

AbsVal

Math.AbsVal

Arcade Native Built and maintained by Arcade with full support
Supported by Arcade

Description

Calculate the absolute value of a number

Input Parameters

{
  "parameters": [
    {
      "name": "a",
      "required": true,
      "inferrable": true,
      "description": "The number as a string",
      "value_schema": {
        "val_type": "string"
      }
    }
  ]
}

Output

{
  "description": "The absolute value of the number as a string",
  "value_schema": {
    "val_type": "string"
  },
  "available_modes": [
    "value",
    "error"
  ]
}