Hello, I'm having a problem converting from string to decimal, as the following code demonstrates:
string valor = "0,01";
CultureInfo _provider = new CultureInfo("pt-BR");
decimal valorTratado = Convert.ToDecimal(valor, _provider);
The variable value Treaty should be with a value of 0.01 but it has a value of 1, does anyone know why it happens?