Modulo

Logic Name

Modulo

Function

Divides the input number above by the input number below and returns the modulo.

Data Types

Location Type
The first input handler Numeric
The second input handler Numeric
Logic output Numeric
lightbulbRefer to "Logic Specifications" for details.

Properties

Category Property Description
Precision Specify precision Select whether to directly specify the decimal places of precision in decimal type calculation.
Precision Specified digits Directly specifies the number of decimal places in decimal type precision.
Precision Rounding Specify the method of rounding.
Null processing Null option Specify how to handle the input if it contains null.
Comment Comment The comment will also be output to the specifications.It does not affect the conversion process.

Null option

Option Description
Convert null into 0 Converts null to 0 and continue with the process.
Throw exception when unable to determine/calculate/process Throws exception (CalculationException) when unable to determine/calculate/process.
Output null if any input is null Outputs null if the value of any input handler is null.
lightbulbRefer to "Logic Specifications" for details.

Notes

Logic Sample

Mapping Definition

Logic Settings and Processing Result

The logic divide the value of "column[1]" by the value of "column[2]" of input data and output the modulo.
Property Settings
Property Setting
Specify precision Not Checked
Specified digits  
Rounding Round to 0.
Null option Convert null into 0
Input Data
10,3
10,3.0
10.0,3
Result Data
1
1.0
1.0