Convert Number string to float

Hi all,

I am trying to insert a data row from excel to a sql table, one column from sql table is of type float.

What I’m currently trying to do is
Float.Parse(row([column]).ToString, System.Globalization.CultureInfo.InvariantCulture)
which is not recognized by UIPath.

Is there a way to directly convert a string type to a float?

Note: this string variable always consists of numbers

Any help is much appreciated.
Thanks

1 Like

Hi
Yah like this
Convert.ToDouble(stringvariable.ToString)

Cheers @avlavarias

1 Like