Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Small number to string conversion
Message
De
18/05/2006 11:14:50
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01123084
Message ID:
01123238
Vues:
13
>Strange, I never considered using PADL(), PADR(), PADC() on anything but strings, just never occured to me that you could use numbers even though the help correctly states it can be any expression type but Logical/General.

The following is good for as long as the total number of characters used in the value does not exceed 20. Fabio mentioned the use of CAST(), which I thought about last night but wasn't able to figure out the proper syntax, which might be better to fit all possibilities.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform