AsDisplayString (base type)

De Wiki1000

<source lang='delphi'>property AsDisplayString:String;</source>

Lecture

Retourne une chaîne formaté pour l'affichage.

Tip : Le formattage dépend de la langue de l'utilisateur

Exemple <source lang='delphi'> function foo():string; begin

 montant.Devise := TdbfCurrency.Find('CodeISO=%1',,True,['USD']);
 montant.Value := 12345.56;
 Result := montant.AsDisplayString; 
 // if locales are FR :
 // Result := 12 345,56 (USD)
 //
 // if locales are US :
 // Result := 12,345.56 (USD)

end; </source>

Voir aussi

{{#if:Type métier (type)|

{{#if:Type métier (type)|— Type métier (type) |}} — Développement DSM

|

{{#if:|— [[{{{1}}}]] |}} — Développement DSM

}}