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

Logic name
Divide
Function
This logic divides the input value of the first input handler by the input value of the second input handler and returns the result.
When the values of the first input handler and the second input handler are both integer values, the output value is an integer value even if the value is not divisible.
When a floating point is included in either the first input handler or the second input handler, the output value is a floating point.
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 dividing the value of "COL1" of the input data by the value of "COL2."
Property settings
Property |
Setting Value |
---|---|
None |
Input data
10,3 |
10,3.2 |
10.1,3 |
Output data
3 |
3.125 |
3.3666666666666667 |
Official | HULFT IoT EdgeStreaming Mapper Reference First Edition: July 1, 2021