salut tous j'ai encore besoin de votre aide sur un calcul
j'ai toujour une érreur du type
Types incompatibles : 'TLabel' et 'Extended'
Aucune version surchargée de 'StrToCurr' ne peut être appelée avec ces arguments
voila mon code
j'ai mis totalsup : Currency;
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13 procedure TSupPaiement.BitBtn1Click(Sender: TObject); var rep : integer; som : Currency ; // = 250 rest:Currency; // = 80,00 pai:Currency; // = 1348,00 begin pai:=StrToCurr(Paiement.Caption); rest:=StrToCurr(Reste.Caption); som:=StrToCurr(Sommes.Caption); totalsup:=pai - som; totalsup.caption:=StrToCurr(totalsup);
merci de votre aide
Partager