1. Home
  2. Conecta HUB
  3. Transformations
  4. Mathematics
  5. Divide

Divide

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

Was this article helpful to you? Yes No

How can we help?