Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding a decimal place
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Adding a decimal place
Divers
Thread ID:
00415116
Message ID:
00415116
Vues:
58
If I have a character string, like "0455" and I want to convert it to a number with 2 decimal places, is there an easier way than this:

val(substr(lcString,1,2) + "." + substr(lcString,3,2))
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform