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

Logic name
Subtract
Function
This logic subtracts the input value of the second input handler from the input value of the first input handler and returns the result.
Data type
Location |
Type |
---|---|
First input handler |
Numeric |
Second input handler |
Numeric |
Logic output |
Numeric |
Property
Category |
Property |
Description |
---|---|---|
Comment |
Comment |
It does not affect the conversion processing. |
Notes
For the precision (valid number of digits below the decimal place) used during default operation with basic arithmetic logic, refer to the following sections in Functional restrictions:
(1) Handling of floating point type
(2) Maximum and minimum values for integer type
(3) Maximum and minimum values for floating point type
Example of logic use
Mapping definition

Logic settings and processing result
This logic outputs the result of subtracting the value of "COL2" of the input data from the value of "COL1."
Property settings
Property |
Setting Value |
---|---|
None |
Input data
10,3 |
10,3.2 |
10.1,3 |
Output data
7 |
6.8 |
7.1 |
Official | HULFT IoT EdgeStreaming Mapper Reference First Edition: July 1, 2021