Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP And ADO
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00129800
Message ID:
00131044
Views:
22
>>I Just discovered that it's not only this field but every Numeric if stretched to its limits. A N(5.2) will trigger the error when 111.11 is in the field. I still don't know why this is, so any help is stil appreciated.
>
>I don't know if its a "bug" or a "feature" but the numeric field's width must be at least one digit more than the width of the largest numeric value to be stored.
>
>HTH,
>Mike

Mike,

This is because one byte is reserved for the +/- sign. Numerics are stored as character strings of digits, the +/- sign and the decimal point are literally stored as part of the number.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform