Function Block ABS

The Function Block ABS converts a number to an absolute number.

Input

At the input, a value with a number is expected. The value of a string is attempted to be converted into a number. The boolean value TRUE is converted to a 1.

Note: Also see the article String Conversion To Numbers, if you are working with strings.

Output

The output returns a number without the sign. For example, from -2.25 to 2.25.