Absolute Value

Absolute Value

Logic name

Absolute Value (Document Mapper/Variable Mapper/Merge Mapper)

Function

This logic returns absolute values of the input numbers.

Data types

Location

Type

First input handler

Numeric

Logic output

Numeric

= Hint =

Refer to the following for details:

Properties

Category

Property

Description

Comment

Comment

You can write a description of the logic. It doesn't affect the conversion process.

Notes

  • The logic returns the same value for the minimum value of type int (-231).

  • The logic returns the same value for the minimum value of type long (-263).

  • Absolute values of floating point type may contain rounding errors.

Logic sample

Mapping definition

Absolute Value

Logic settings and processing result

The logic outputs absolute values of the numbers of input data.

Property settings

Property

Setting

None

 

Input data

-2.3

4.5

-6

Output data

2.3

4.5

6

 

= Hint =

For a list of logics, refer to Mapper Logic Guide.