I just figured out how to solve the problem, I’ll share here maybe help someone else.
var cmdText = ($@"INSERT INTO PESSOASERVICOPRESTADO (CODPESSOA, DESCRICAOSERVICO,
VALORTOTAL, VALORPAGO, PAGO, DATASERVICO ) VALUES ({servico.CodPessoa},
'{servico.DescricaoServico}',
{servico.ValorTotal.ToString(CultureInfo.InvariantCulture)},
{servico.ValorPago.ToString(CultureInfo.InvariantCulture)}, '{servico.Pago}'
,'{servico.DataServico}')");
Just add the following code to the Sql command:
ToString(CultureInfo.InvariantCulture),
so Sql server ignores the region setting and sends the statement with the dot instead of the comma that would cause trouble.