ES-1519

For floating point number type data, if the value after the decimal point is "0", all digits after the decimal point are truncated and the number is processed as an integer

Phenomenon

For floating point number type data, if the value after the decimal point is "0", all digits after the decimal point are truncated and the number is processed as an integer.

Affected versions

Ver.2.3.2

Version when it was corrected

From Ver.2.0.0 to Ver.2.3.1

Affected module

HULFT IoT EdgeStreaming Runtime

Condition to reproduce

The phenomenon occurs when you use a floating point number for which the value after the decimal point is "0" in one of the following processes:

  • "Input" in a stream flow

    • Modbus adapter: "Industrial equipment" > "Modbus" > "Read input registers"

    • Modbus adapter: "Industrial equipment" > "Modbus" > "Read holding registers"

    • MySQL adapter: "Database" > "MySQL" > "Select (1 row)"

    • PostgreSQL adapter: "Database" > "PostgreSQL" > "Select (1 row)"

    • SQL Server adapter: "Database" > "SQL Server" > "Select (1 row)"

    • Mapper logic: "Number" > "Basic" > "Numeric constant (floating point)"

    • Mapper logic: "Number" > "Basic" > "Convert to floating point"

    • Mapper logic: "Number" > "Calculation" > "Add"

    • Mapper logic: "Number" > "Calculation" > "Subtract"

    • Mapper logic: "Number" > "Calculation" > "Multiply"

    • Mapper logic: "Number" > "Calculation" > "Divide"

    • Mapper logic: "Number" > "Calculation" > "Remainder"

    • Mapper logic: "Number" > "Function" > "Power"

  • "Output" in a stream flow

    • Basic adapter: "Basic" > "Basic" > "Standard output"

    • File adapter: "File" > "Basic" > "Writing"

    • InfluxDB adapter: "Database" > "InfluxDB" > "Insert"

    • FTP adapter: "Generic protocol" > "FTP" > "Send file of specified interval"

    • FTP adapter: "Generic protocol" > "FTP" > "Send file of specified size"

Alternative workaround

None

Status description

Even if a value after the decimal point is "0", it is handled as a floating point number.