How can i convert a string thats 1650,00 to a double ? so it will include the decimals
I have alrdy tried conver.todouble and parse method but both gives me 165000 instead of 1650,00
How can i convert a string thats 1650,00 to a double ? so it will include the decimals
I have alrdy tried conver.todouble and parse method but both gives me 165000 instead of 1650,00
Already found a solution but thanks
My solution was convert.todouble(var, culture)
then culture its a Cultureinfo = new CultureInfo(“fr”)
Hi,
Can you try the following?
Double.Parse(yourString, System.Globalization.NumberStyles.Any, new System.Globalization.CultureInfo("fr-FR"))
Regards,