Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Comma from STR
Message
De
27/05/2009 08:39:23
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01401981
Message ID:
01402193
Vues:
62
>>Hi All:
>>
>>Is there any way for the STR function to automatically return the number formatted with the ',' for the 1000 delimiter?
>>
>>Example:
>>
>>
>>? STR(12345)    &&Displays 12,345
>>
>>
>>I'm converting a Clipper program that seems to have that capability.
>>
>>Thanks,
>>
>>Yossi
>
>You can probably use #DEFINE STR() StrComma() but I would not advise it.

I don't think that would work. #DEFINE does a straight substitution, so it'll never find STR(), since there are params in the parens.

Tamar
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform