13
I have a table ESTOQUE
containing a field called QTDE
, this field has 3 decimal places.
What would be the command to return directly from SQL formatted with 3 houses? Because the integer values are returning without the houses.
I use: Firebird 2.0 / Field: Decimal(15.3)
Are you saying that even when you make a
SELECT * FROM ESTOQUE
, the integer values in the fieldQTDE
do not show.000
?– brazilianldsjaguar
From what I understand, you get in your bank manager values with the decimals, idependente to be with zeros or not, but in the client, when the value is integer, does not return houses.. is that it? If I understand correctly, the problem is the customer. Depending on the programming language used in your program to display the database data on the client side, it is necessary to format the value in the form of a string to display it correctly. Could give more details of your application to help?
– RaphaelZ