Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Converting Character to Numeric
Message
De
21/11/2021 11:48:55
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
21/11/2021 11:44:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01682754
Message ID:
01682758
Vues:
41
>Thank Tore. Appreciate it as all others. Gonna have to rethink that conversion, for those fields that have data that looks like: 0.04%. It gets converted to 4.00

Check that the data perhaps originated in a european country, where they may have set("Point")=",". You'd either have to set it so before this, or apply a chrtran(yourfield, ",", ".") before doing val(). Though I'd rather expect it to return zero in that case...

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform