If activity issue

Hi all,

I have the following logic :

which will check if the input is numeric or not. if it’s the case a message box will display is numeric otherwise not numeric.

Whatever I put the into the input is always giving not numeric. Please this making me insane any idea what do I have to do (configuration or whatever) ??

regards,

Fathi

@Bouslama_Fathi

Use cdbl(age) or cint(age).

You are passing a string so convert it and then check it

Cheers

Hi,

Which version of StudioX do you use?

It might be better to use Advanced Editor.
The condition will be as the following.

age.ToString.IsNumeric

OR

Saved.Value(Of String)("Age").ToString.IsNumeric

OR

Saved.Values(Of UiPath.Excel.ExcelValue)("Age").ToString.IsNumeric

etc.

Regards,

Hi,

I am using the following version :

image

still with those expression it’s not working.

regards,

Fathi Bouslama

Hi,

Can you try the following sample?

NewBlankTask20221221-2.zip (49.8 KB)

If it works, can you compare it with yours?

Regards,

@Bouslama_Fathi

Convert the age into integer & try it will work

Thanks
Varun