Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Val from string with commas
Message
De
26/06/2008 09:30:58
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01326898
Message ID:
01326909
Vues:
18
>Using vfp 8
>
>lcStringValue=[1,234]
>? VAL(lcStringValue)
>
>returns 1.00
>
>How can I get the real value of 1234?
>
>Thanks

the ultimate solution:
Function NewVal
  Parameters lcIndata
Return Val(Chrtran(lcIndata,',.',Repl(Set('POINT'),2)))
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform