Re: How format float in TDBText using ADO??
- From: "Mike Shkolnik" <mshkolnik2002@xxxxxxx>
- Date: Mon, 26 Sep 2005 17:02:23 +0300
(yourADODataset.FieldByName('yourFieldName') as TNumericField).DisplayFormat
:= ',0.00';
The same property (DisplayFormat) you may define in Object Inspector for
your field
--
With best regards, Mike Shkolnik
EMail: mshkolnik@xxxxxxxxxxxxx
http://www.scalabium.com
"ZEN" <projetos@xxxxxxxxxxxxxxxxx> wrote in message
news:4337f784@xxxxxxxxxxxxxxxxxxxxxxxxx
> I want show 1234 as 1,234.00
>
> Its desireable respect the control panel settings.
> Seems so simple!
>
> I already look for this matter on the internet but.....
>
>
> Thanks
>
> Heraldo
>
>
.
- Follow-Ups:
- References:
- How format float in TDBText using ADO??
- From: ZEN
- How format float in TDBText using ADO??
- Prev by Date: How format float in TDBText using ADO??
- Next by Date: Re: How format float in TDBText using ADO??
- Previous by thread: How format float in TDBText using ADO??
- Next by thread: Re: How format float in TDBText using ADO??
- Index(es):
Relevant Pages
|