message box error on the left side showed up when i change “dt2” variable into integer
message box error on the right side showed up when i change “dt2” variable into GenericValue
“dt2” is the variabel output from “Jumlah Tagihan (2)” same like “Jumlah Tagihan (3)”
activties that i’m using to take data is “Get Full Text”
Get Full text gives string as output. You will first need to convert to Int32. Do that for both your cases
use Convert.ToInt32(dt1) in assign to get it as an int variable
Then when both variables are int you perform the subtraction in assign activity and store the result in another int variable (or directly convert the result as string in the same assign)
Finally if if your result variable is already string then use that in message box. Else use .tostring to convert it to string from int
is it correct? when i try to change the var of “dt1” and “dt2” on the variables pane at the bottom of the studio the error says ‘ToInt32’ is not a member of ‘String’
ok, i’ve try "Int32.Parse(dt1), "Integer.Parse(dt1) it fail and the output was Input string was not in a correct format
i’m try to use “CInt(dt1)” and the output is Cannot convert Generic Value to System.Int32