Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Number to 1st, 2nd, 3rd or First, Second, Third
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00931326
Message ID:
01386032
Vues:
87
>>The code does not convert correctly numbers over 100 ending on 11, 12 and 13.
>>See http://www.berezniker.com/content/pages/visual-foxpro/ordinal-numbers

>
>Thanks for the code!
>
>To make this a 'freestanding' function in a VFP7 .PRG, I added a PARAmeters statement.
>
>Also enhanced the RETURN like so: TRANSFORM(tiNumber) + lcOrdinalNumber -- makes the calling code cleaner.

Hi Randy,

Thanks for your comments. I implemented all of them. Please check updated version.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform