Subject Re: [ib-support] Float data type
Author Martijn Tonies
Hi,


> I should give more information.
>
> What I am actually trying to do is to store a Dewey Number. However, one
of
> the users wants to be able to search within a range of Dewey Numbers, e.g.
> to return all books in the system between 658.05 and 658.09.
>
> Therefore, I think storing them as a float with up to 6 decimal places
would
> be best. However, you say that floats are not stored exactly, when I want
> this to be an exact number.

Strings.

Martijn Tonies
InterBase Workbench - the developer tool for InterBase and Firebird
http://www.interbaseworkbench.com

Upscene Productions
http://www.upscene.com

"This is an object-oriented system.
If we change anything, the users object."