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

Rounding (precision)

Rounding (precision)

Logic name

Rounding (precision)

Function

This logic rounds the input numeric value according to the specified precision.

Data type

Location

Type

First input handler

Numeric

Logic output

Numeric

Property

Category

Property

Description

Required

Precision

Directly specify the number of digits after the decimal point for the calculation precision as a decimal.

Comment

Comment

It does not affect the conversion processing.

Example of logic use

Mapping definition

Logic settings and processing result

This logic outputs the result of rounding the input data to the specified precision.

Property settings

Property

Setting Value

Precision

2

Input data

123.456

-123.456

654.321

Output data

123.46

-123.46

654.32

 

 

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