Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Numeric string or not?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00487462
Message ID:
00487871
Views:
13
You're quite correct Nadya, since Val() will only read 16 characters. You also have to be careful about the setting of SET DECIMALS. Numbers with a great many decimal places, as well as very large numbers, usually require special handling in VFP.

Barbara


>Barbara,
>
>It would not work for some cases like:
>
>set exact on
>?"My String"
>myString='10000.5903459059503'
>?transform(val(Mystring))
>?MyString = transform(val(Mystring))
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform