# Absolute

Block Group: | Number Formatting |

Icon: |

The Absolute block returns the absolute value of a number.

For information on using dataflow blocks, see Dataflow.

For accepted and excluded arguments of Number Formatting blocks, see Number Formatting.

## Input/Output Property

The following property of the Absolute block can take input and give output.

- input
*(number)*

**input** specifies the number for which to calculate absolute value.

## Output Property

The following property of the Absolute block can give output but cannot take input.

- output
*(number)*

**output** returns the absolute value of **input**.

## Remarks

- Numbers, logical values, and numbers represented as strings are accepted.
- Error values, and text that cannot be resolved to numbers, cause a “NaN” error result to be returned.

## Examples

The following image shows two examples of the Absolute block.