Subtract
Subtract a numeric value.
Input/Output
Number of Connections: Min: 1/Max: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 value subtracted Data from Input1 |
Property
| Name | Property Type | Description |
| Data | string | Specifies a numeric value to subtract |
| Formula | choice |
Specifies the input as a value to subtract or a value to be subtracted.
| Input-Data | - |
A value to be subtracted
|
| Data-Input | - |
A value to subtract
|
|
| Scale | int | Specifies a the number of digits to the right of the decimal point when the output type is Decimal |
Topic
- When input value and Data are Double, the value is calculated as Double, then outputs a Double value. Otherwise, calculate as Decimal values, then outputs a Decimal value.
- When the output type is Decimal, one with a large scale of Input1 and scale of Data is chosen.
Sample
| Property | 出力 |
| Input1 | 7 | | | 4 |
| Input2 | 3 | | | |