Official | HULFT IoT EdgeStreaming Mapper Reference First Edition: July 1, 2021
Floor
Logic name
Floor
Function
This logic rounds down to the nearest integer of the input numerical value.
If the input numerical value is a negative value, the output numerical value is the largest value less than or equal to 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.  | 
                                            
Example of logic use
Mapping definition
                                    Logic settings and processing result
This logic rounds down to the nearest integer of the input data values and outputs them.
Property settings
| 
                                                             Property  | 
                                                        
                                                             Setting Value  | 
                                                    
|---|---|
| 
                                                             None  | 
                                                        
Input data
| 
                                                             123.456  | 
                                                    
| 
                                                             -123.456  | 
                                                    
| 
                                                             -123.000  | 
                                                    
Output data
| 
                                                         123  | 
                                                
| 
                                                         -124  | 
                                                
| 
                                                         -123  | 
                                                
Official | HULFT IoT EdgeStreaming Mapper Reference First Edition: July 1, 2021