Skip to main content

abs

Get the absolute value of a number

Holly Conrad Smith avatar
Written by Holly Conrad Smith
Updated over a month ago

Category: Math

Kind: Operation

Description: Get the absolute value of a number

In math, the absolute value of a number is its distance from zero on the number line. It's always a non-negative value, meaning it's either positive or zero.

Inputs

Name

Abbreviation

Type

Access

Description

Number

N

Number

Item

The number to get the absolute value of

Outputs

Name

Abbreviation

Type

Access

Description

Absolute

A

Number

Item

The absolute value of the number

How to

  1. Feed in a number

    1. This could be the a numeric result of another node

    2. Or, you can use a number node

    3. Or, you can type numbers into the box

    4. If you need to process multiple numbers in a list, use the map node

  2. The result is the absolute value of that number

    → If the starting number was negative, the result will be the positive version

    → If the starting value was positive, the result is the same number

Did this answer your question?