Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
If I have 3 Eu in this hand and 2 $ in the other ..
Message
De
18/12/2001 20:30:32
 
 
À
18/12/2001 20:20:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00595941
Message ID:
00595949
Vues:
30
>>How do I format a currency with something other than a dollar sign. I have tried setting the Windows settings to another currency and then setting VFP to use the windows settings but when I
>>? trans(12,345.56,'$$,$$$.99')
>>
>>
>>it is still $
>>
>>Thanks
>
>Answered my own question!
>? trans(12345.56,'@$$,$$$.99')
>
>
>the @ sign forces the alternate currency symbols.


Did you notice you lost your comma? Seems to be a result of using the @.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform