0
I am making an Insert in Firebird database in a Value field (decimal), but no decimals appear in the table.
Code in C# :
public decimal ValorUnitario { get; set; }
produto.ValorUnitario = Convert.ToDecimal(5.50);
string sql = $"INSERT INTO PRODUTO(VALOR_UNITARIO)VALUES('{produto.ValorUnitario}');
In the database you enter Value = 55
Please avoid long discussions in the comments; your talk was moved to the chat
– Maniero