How to use less than in a for each row using if condition

Please How do i use less than in a for each row using if condition

Variable1 < Variable2

In a datatable, for each row in Price_DT
I used this and it didn’t work ;
If row(“price”)>$20

Tey removing the $ sign
May i know what is a sample output of row(“price”)? Thanks

It didn’t work, showing option strict on disallows operands of type object for operator <

sample output 123500, 300000, 50, 170

Int32.Parse(row(“price”)) < 20

I got error, operation strict on disallows implicit conversion from object to string

Please upload the workflow. Thanks

if

1 Like

Int32.Parse(row(“price”).ToString) < 20
Please try this one

3 Likes

That’s right, no errors.Thanks

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.