Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get Mac Address & Specs
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00652249
Message ID:
00652888
Views:
16
>Thanks Larry,
>
>The transform() function you suggested returns character, and I need to convert a long string of characters to a number. The characters in this case are numeric, so the string "1254845985622541587442002254852115584" is really a character string, and I need that converted to a whole number without the scientific notation stuff.
>
>Thanks,

Stanley,
You won't be able to do exactly what you want because VFP won't be able to handle the numeric precision. From the VFP Help.
Digits of precision in numeric computations                                               16
Visual FoxPro can handle numbers up to 9007199254740992 (2^53) in exact computations.
Why do you need to do any computations on the numbers? If you simply concatenate them, you will get a unique string. If you apply any computations, you run the risk of the result being returned from another set of computations with different numbers.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform