## Re:Numeric data type

"sam" <samuell...@hotmail.com> wrote ...

##### Quote

> I would like to know what is the data type for numeric in

> Delphi that comes with 2 decimal.

> In foxpro database, I can have the field with data type

> numeric with 2 decimal; but how about in Delphi?

Sam, If you are asking what ObjectPascal variable type can be

used to hold numbers with two decimal fraction digits, then the

answer is "currency", although the floating binary point types

"single", "double", and "extended" are also useful, even though

they cannot hold such types as 0.10 to perfect precision.

Rgds, JohnH