Mod
Yields the remainder of its operands from an implied division
Input/Output
Number of Connections: 2
| Input | Data Type | Description |
| Input1 | Integer,Double,Decimal | A number |
| Input2 | Integer,Double,Decimal | Sets the Data property. (optional) |
| Output | Data Type | Description |
| Output1 | Double,Decimal | The remainder from an implied division |
Property
| Name | Property Type | Description |
| Data | string | Specifies a numeric value to be performed division. |
| Formula | choice |
Specifies the input value as dividend or as divisor.
| Input / Data | - |
Input as a dividend.
|
| Data / Input | - |
Input as a divisor.
|
|
| Scale | int | Specifies a the number of digits to the right of the decimal point when the output type is Decimal |
Topic
- When all input values are Double, the value is calculated as Double, then outputs a Double value. Otherwise, calculate as Decimal values, then outputs a Decimal value.
- All fraction part of the input is ignored.
Example
| Property | Output |
| Input1 | 7 | | | 1 |
| Input2 | 3 | | | |