Compare, using if activity, 2 variables with different typearguments


#1

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


#2

Hi @sangasangasanga,

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


#3

Thank you, that worked!