Subtraction is when you take one number away from another number
Smartcode
Syntax
Subtraction (type,value,result)
Parameters
- Type(Required) – Type to get values for processing the subtraction. It may be direct value, from controls or from the data model
- Value(Required) – To get values for subtraction based on the type selected
- Result – Result of the subtraction
- Assign To(Required) – Target type to paste the result of the subtraction. It may be controls, data models or page variables
- Value(Required) – Final output of the subtraction. User can get the value from the target for next level process
Example
TextBox_3 = Arithmetic.Sub(TextBox_1, TextBox_2)
Directcode
Syntax
Orefuncs.math().Sub(value1, value2)
Parameters
- value1, value2(Required) – Values to be subtracted
Example
Orefuncs.math().Sub(55,32)