Hi everyone, I’m s t r u g g l i n g trying to overcome the debugging error “Disallows implicit conversion from ‘string’ to ‘double’”
Currently I have -
VariableX = row(“BilledAmount”).ToString
VariableY = row(“IssuedAmount”).ToString
row(“Outstanding Balance”) = VariableY - VariableX
It results in the error. I have tried
Convert.ToDouble(VariableY - VariableX)
and also Parsing the string to double but I get the same error message for both.
However, when I do
Cint(row(“BilledAmount”).ToString) - Cint(row(“IssuedAmount”).ToString)
the formula works.
However I do not want it in integer form as I need the decimal places.
Could anyone assist please? Thank you!