Greater or lesser than

I have two values valueA-142.62. And valueB-93.17 both the values I got in string I need to check 142.62 is greater or less than

ValueA and ValueB both are string type

@sruthesanju

You can use cdbl(valueA)>cdbl(valueB)

cheers

Hi @sruthesanju

convert them into the double and then you can compare the greater and less than.

IF condition:

Cdbl(ValueA)>Cdbl(ValueB)

Then sequence
Keep the process of If Value A is greater than Value B

Else sequence
Keep the process of If Value A is lessthan Value B

End IF

Regards

:slight_smile: i,

Here is the output

Xaml file:-
Main.xaml (8.5 KB)

If this works for you, please mark this as a solution, so others can refer the same…:slight_smile:

Thanks

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