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:
00931352
Vues:
25
I don't have a utility...but how high you want the numbers to go?

>I didn't want to reinvent the wheel so I thought I'd ask first. Does anyone have a utility to convert a number to a word that represents a position? For example.
>
>1 to "1st" (or "First")
>2 to "2nd" (or "Second")
>3 to "3rd" (or "Third")
>4 to "4th" (or "Fourth")
>5 to "5th" (or "Fifth") etc. etc.
>
>I've seen some other number to word conversions, but they weren't exactly what I was looking for.
>
>TIA
Steve Gibson
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform