Read the file using read text file activity , set output string as strOut
Insert an assign activity
varSum= Cint(strOut)
I will get the above value in a variable just to show i have pasted it in notepad
Hello @sruthesanju
As you have this value in a variable as a string, first you need to convert that to int.
Convert.ToInt32(YourVariable)
Check this and update here. If its not working then attach that notepad here.
@sruthesanju
You can use the inbuild calculator from snippets
Calculator.zip (3.6 KB)