How should i convert string to the double?

I am writing condition for confidence level for columns in my table. Please, Provide suggestion on that one!

Hi @Rohan_Kulkarni99

Cdbl(YourVariable.Tostring)

or

Convert.TODouble(YourVariable.Tostring)

Thanks

@Rohan_Kulkarni99

Convert.TODouble(from Table to tostring entire thing) > 0.7

`

CDbl(table.rows(0)(“invoice_number - Confidence”).ToString) > 0.7

`

Check for below blog future reference @Rohan_Kulkarni99

Please save it. It will be helpful for you.

hey

try this

CDbl(table.rows(0)("invoice_number - Confidence")) > 0.7

That won’t work. You have to output with ToString:

CDbl(table.rows(0)("invoice_number - Confidence").ToString) > 0.7

You can’t compare string and double. Do not convert to string on left-hand side, if your row(0) is integer.