Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Converting Character to Numeric
Message
From
21/11/2021 11:48:55
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
21/11/2021 11:44:14
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01682754
Message ID:
01682758
Views:
40
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform