Article View: be.comp.programming
Article #3148Re: Delphi probleempje ...
From: Meindert Sprang
Date: Fri, 06 Feb 2004 11:32
Date: Fri, 06 Feb 2004 11:32
20 lines
1523 bytes
1523 bytes
"JVB" <jvbsoft.verwijder.dit@pandora.be> wrote in message
news:MNKUb.1244$4L7.200776@phobos.telenet-ops.be...
> Ik heb volgend probleem : De Caption van Label 1 is gevuld met
bijvoorbeeld
> getal 2,53
>
> Om de waarde van deze caption via een query in een tabel te stoppen, moet
je
> 2,53 veranderen in 2.53 ( dus de komma veranderen door een decimale punt)
> Met onderstaande code lukt die niet .....
>
> Label1.Caption :=
> FormatFloat('0.00',(Bestellingen.FieldByName('Prijs').AsFloat);
var S: string;
S := Label1.Caption;
S[Pos(',',S)] := '.';
Meindert
Technical Details
Message-ID:
<40237b6f$1@news.nb.nu>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsgate.cistron.nl!news.cambrium.nl!news.cambrium.nl!amsnews01.chello.com!news.nb.nu!not-for-mailReferences:
<MNKUb.1244$4L7.200776@phobos.telenet-ops.be>Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit X-Google-Thread: 107324,5b5ef3cb4e249b81 X-Google-Attributes: gid107324,public X-Google-Thread: fcea4,5b5ef3cb4e249b81 X-Google-Attributes: gidfcea4,public X-Google-ArrivalTime: 2004-02-06 03:33:05 PST From: "Meindert Sprang" <mhsprang@NOcustomSPAMware.nl> Newsgroups: be.comp.programming,nl.comp.programmeren References: <MNKUb.1244$4L7.200776@phobos.telenet-ops.be> Subject: Re: Delphi probleempje ... Date: Fri, 6 Feb 2004 12:32:06 +0100 Lines: 22 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: <40237b6f$1@news.nb.nu> X-Complaints-To: abuse@nb.nu X-Visit: http://www.nb.nu/serv04.htm to gain access Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsgate.cistron.nl!news.cambrium.nl!news.cambrium.nl!amsnews01.chello.com!news.nb.nu!not-for-mail