Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
1st, 2nd, 3rd, 4th, 5th ... nth
Message
 
À
28/11/2000 12:50:23
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00446283
Message ID:
00446329
Vues:
7
Hi Mike,

parameter x
return allt(str(x)) + iif(x = 1, "st", iif(x = 2, "nd", iif(x = 3, "rd", "th")))

>Hi people!
>
>Anyone have a simple function to take a number and append the correct st, nd, rd or th? Its for a legal document "contract is made as of nth day of".
>
>Thanks
kenweber
GCom2 Solutions
Microsoft Certified Professional

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform