Currently i’m using this syntax in IF activity
Cint(DT_InvoiceData.Rows(0)(“Quantity”).ToString) < Cint(dt_PO.Rows(0)(“Quantity”).ToString) OR Cint(DT_InvoiceData.Rows(0)(“Unit Price”).ToString.Replace(“$”,“”)) < Cint(dt_PO.Rows(0)(“Unit Price”).ToString.Replace(“$”,“”)) OR Cint(DT_InvoiceData.Rows(0)(“Subtotal”).ToString.Replace(“$”,“”)) < Cint(dt_PO.Rows(0)(“Subtotal”).ToString.Replace(“$”,“”))
, I want to use this in switch activity. What changes should i do?
There are three cases
- Less than 0
- Equal to 0
- Greater than 0