Subject | Re: [firebird-support] Decimal point numbers |
---|---|
Author | Ivan Prenosil |
Post date | 2004-12-14T15:03:16Z |
> Will a decimal(9,2) maintain the trailing zeros on say, a monetary value?Database stores *values*, and maintains *precision/scale*.
>
> I need 10.10 not 10.1, for example.
*Trailing zeroes* are *formatting* properties, which is normally
done on client side. When formatting monetary values,
you would also have to specify decimal separator,
thousands separator, currency symbol, negative numbers
format, leading zero suppression, arabic/roman numbers etc.
Database server has better things to do ...
Ivan
http://www.volny.cz/iprenosil/interbase/