Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is the equivalent of str(OEPDM,2,0,'0') in vfp
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00648196
Message ID:
00648511
Vues:
19
>James,
>
>>I didn't know you could specify the decimal length with a padl function?
>
>You can't, but since his calls were all doing no decimal places padl() will work. If you need decimal places you can use a str() inside the padl():
>
>
? padl( alltrim( str( lnTheNumber, 10, 5 ) ), 10, '0' )
It can also be done with TRANSFORM()
? TRANSFORM(lnTheNumber, "@L 9999.99999")
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform