Follow the image with the results on both platforms, is there any explanation or is it a bug in the online compiler?
Both are console application , the only difference is that VS is being compiled with dotNet4 while dotnetfiddle.net dotnet4.5
var textBoxValor = "10.8";
decimal variavel = Decimal.Parse(textBoxValor.Replace(".", ","));
textBoxValor = "10.8";
var variavel2 = Decimal.Parse(textBoxValor);
As the image is not good, it follows the result obtained respectively in VS and dotnetfiddle.net dotnetfiddle.net
VS: variable: 10.8 variable2: 108
dotnetfiddle.net: variable: 108 variable2: 10.8