Subject Re: [ib-support] Re: Numeric, Decimal, Double Precision and Float data types. What and when to use?
Author Helen Borrie
At 06:34 PM 10-07-02 +0300, Theo Bebekis wrote:

>My question was primarily about Numeric/Decimal and IEEE types
>and what and when to use.
>
>What do you experienced IB/FB programmers recommend me to use?
>Numeric/Decimal or IEEE?
>Does it depends? On what?

Theo,
Use Ann's dictum and you won't go far wrong:
"Use float types for things you measure and numerics for things you count."

So it's definitely numerics for money, elapsed time, beans...and floats for
distances, weights, body girth, heights of buildings, length of a piece of
string...

cheers,
Helen
---"Never hire a dyslexic removalist"


All for Open and Open for All
Firebird Open SQL Database · http://firebirdsql.org ·
http://users.tpg.com.au/helebor/
_______________________________________________________