My robot recives the string “1021,940000” but it has to be in the correct number format, in this case something like “1.021,94”
To limit decimal into 2 i’m using Double.Parse(value).ToString(“##.00”) but i don’t know how to set the comma to decimal cases and dot to separate the rest
If your current CultureInfo is already correct: Double.Parse(value).ToString("N2")
Otherwise, specify the CultureInfo: Double.Parse(value, New System.Globalization.CultureInfo("es-ES")).ToString("N2", New System.Globalization.CultureInfo("es-ES"))