Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A curious note about the STR() function
Message
From
09/08/1999 18:35:43
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
09/08/1999 13:01:59
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00251576
Message ID:
00251795
Views:
10
>>Hi all ---
>>
>>As you know, STR(nVar,nWidth,nDec) returns a string from a numeric value. What you probably didn't know is that nWidth cannot exceed 237. Anyone know why? I could understand 254 maybe, but 237 seems arbitrary.
>
>When would you ever need to convert a 237 digit number? Or a 100 digit number for that matter?

I've wrote code around the 3.0e6 % inflation (monthly), and yet we went around with 18 digits, 21 in the worst case, but still coped somehow with the 15.5 significant digits.

Er.... 237 - could it have something to do with the maximal exponent in an IEEE number?

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