Official | HULFT IoT EdgeStreaming Mapper Reference First Edition: July 1, 2021

Absolute value

Absolute value

Logic name

Absolute value

Function

This logic returns the absolute value of the input numerical value.

Data type

Location

Type

First input handler

Numeric

Logic output

Numeric

Property

Category

Property

Description

Comment

Comment

It does not affect the conversion processing.

Notes

The maximum and minimum values of the calculation result are as follows:

Maximum: 9007199254740992 (+2^53)

Minimum: -9007199254740992 (-2^53)

If you enter an integer type value out of range of the minimum and maximum values, the calculation result is an invalid value. Specify an input value within the range.

Example of logic use

Mapping definition

Absolute value

Logic settings and processing result

This logic returns the absolute values of the numerical values of the input data.

Property settings

Property

Setting Value

None

Input data

-2.3

4.5

-6

Output data

2.3

4.5

6

 

 

Official | HULFT IoT EdgeStreaming Mapper Reference First Edition: July 1, 2021