Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Storing a large negative number in a Property
Message
De
09/03/2006 13:16:21
Irv Adams
MSC Managed Care, Inc.
Floride, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01102817
Message ID:
01102841
Vues:
20
>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform