From String to Double with € symbol

Dear all,

I am getting an amount from a web page with this format: €10,000.00 (ten thousand euros).

I would need to convert this to double but in this way it does not work: Double.Parse (str Variable, system.globalization.cultureinfo.InvariantCulture)

Do you know another way?

Many thanks!


Hi @angelrpa95

Welcome to forum

U can try this way

str_var = “€10,000.00”

double_value= CDbl(str_var.Replace(“€”,""))

where double_value is Double datatype.

Hope it helps you


Nived N :robot:

Happy Automation :relaxed::relaxed::relaxed: