Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Currency
Message
De
13/01/2009 12:54:09
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01373267
Message ID:
01373292
Vues:
20
>>Thanks Sergey Yes I see that. I was just about to process some strings some of which contain currency amounts and was thinking of using VARTYPE to check which ones where valid currency amounts. I'll have to change my £s to $s first.
>
>The TYPE() function can do it for you
>
>lcStr = "£200"
>IF TYPE(CHRTRAN(lcStr, "£", "$")) = "Y"
>  * Currency
>ENDIF
>
Thanks Sergey
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform