If you have Added fields look at the properties with the object inspector.
there is a property called Curency (true/False) Displays the $ ,decimal
point etc



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Ben none
Sent: Friday, 18 July 2003 9:39 a.m.
To: Multiple recipients of list delphi
Subject: [DUG]: ClientDataSet field of type 'Money'?


Hi there



I have a clientdataset and am trying to create a field where I can hold
dollars in it.
eg. $20.00

I normally have a string which is like this 50.00 which I convert to float
to use basic aritmetic.
Instead of using strings, how can I set up a field which holds money values.
Do i use the currency format? if yes, how?

Cheers.

Ben Iti

_________________________________________________________________
Find your perfect match @  http://personals.xtramsn.co.nz   with XtraMSN
Personals!

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to