Subject | Re: [firebird-support] How to limit FLOAT's precision to .000 |
---|---|
Author | Ann W. Harrison |
Post date | 2006-04-10T22:42Z |
peter_nn0 wrote:
precision - e.g. numeric (9, 3). Float is not a great type for
anything that can be counted - it's more of a measurement thing where
you want the measurement of something that exists to be as close as
possible to its actual dimension.
Regards,
Ann
> I have in some tables fields of type FLOAT which are filled by storedWell, the right thing to do is to use a numeric type with a specific
> procedures.
> Now the values in these fields are stored with tons of digits after the
> decimal point, like 12.1234567890123
> I do not need and want to avoid this, would like to have not more than
> 3 digits after the decimal point - like 12.123
precision - e.g. numeric (9, 3). Float is not a great type for
anything that can be counted - it's more of a measurement thing where
you want the measurement of something that exists to be as close as
possible to its actual dimension.
Regards,
Ann