Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Storing a large negative number in a Property
Message
From
09/03/2006 13:16:21
Irv Adams
MSC Managed Care, Inc.
Florida, United States
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01102817
Message ID:
01102841
Views:
18
>>Marc:
>>
>>That's a simple and excellent idea. Do you know what the upper/lower integer limits are for a property, specifically?
>>
>>Irv.
>>
>>On storage, you can divide your values by a factor and multiply them by the same factor when using.
>
>From help:
>Integer
> Numeric value with no decimals
>
>For example, a line number in an order.
> 4 bytes
>
>-2147483647 to 2147483647

Borislav,

Thanks, but here's a curiosity:
Try storing 6872104804600 to a property, and fine, it will retain it. This is much larger than the 4 byte limit. Then try -2147090432, which is within the bounds of 4 bytes, and you get asterisks.

Any ideas?

Irv.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform