In the database ( SQL
) I have a field named Valor
which is a decimal and contains the following value: 21581 that would be $ 215,81
However when doing casting
of this value it is returning
$"{reader["valor"]:c}"
"R$ 21.581,00"