How to utilize integers in a workbook DataTable

Hello guys

I am trying something like this but I am getting an error

I want Uipath to take the value inside the Row_Count column in my workbook as an integer that’s why I have not added the .toString hoping it would take it as an integer, but it does not work like that obviously.

How this can be achieved pls ?

Thanks,

Kaiji

@kaiji_San

Integer.Parse(CurrentRow("Row_Count").toString) - Count

HI @kaiji_San

You can try like this

Cint(CurrentRow("Row_Count").Tostring)-Count

Regards
Sudharsan