IsNumeric not working

IsNumeric is not working.

2 Likes

@Kiran505

Welcome to our uipath community.

Try this.

        IsNumeric(Num.Tostring)

Hi
Welcome to uipath community
You were almost done
The expression be like this
Isnumeric(Num.ToString)

Cheers @Kiran505

it isn’t working, however Num.IsNumeric is working.

Thank you Guys

5 Likes

Hello @Kiran505, welcome to the UiPath community! If you’re trying to convert other types to an integer, you can always use the TryParse() method. Check it out in the Microsoft docs, with this link: https://docs.microsoft.com/en-us/dotnet/api/system.int32.tryparse?view=netframework-4.8

If you’re doing it char by char, you can also use the Char.IsNumber() method.

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