DESCRIPTION:
Divide the OriginValue by the value given in Factor. If SourceValue is not a number, ProcessValue is equal to 0.
EXAMPLE:
Source value: "12
Factor: "2".
Processed Value: "6".
CONFIGURATION:
Value | Value2 | Relation | Relationship2 | Operation | Factor |
Mat Divide | 2 | ||||
CODE:
If IsNumeric(SourceValue) Then
ProcessedValue = OriginValue / Factor
Else
ProcessedValue = 0
End If