Compare, using if activity, 2 variables with different typearguments

I am trying to compare 2 variables. First variable is in a string index array and second variable is a double. Here are the codes that i tried but both doesn’t work
gb(0) == sum1.ToString
gb(0).toDouble == sum1
Pls advise on what can i do about it.

Thank you xoxo

Hi @sangasangasanga,

Try the following. Just one “=” is enough to compare.
image

Thank you, that worked!

1 Like