Decimal field
Posted: 18.08.2010, 14:43
I have a table with decimal field in MySQL database.
MySQL server version is 5.0.32.
I use Delphi7 and in the ZTable1 the type of the field Price is TFloatField. Can I write a proper value of the field Price into currency variable?
Zeos library version is 6.6.6.
Code: Select all
create table Products(
Id int not null primary key,
ProductName varchar(100) not null,
Price decimal(15,2)
);
I use Delphi7 and in the ZTable1 the type of the field Price is TFloatField. Can I write a proper value of the field Price into currency variable?
Zeos library version is 6.6.6.