Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why not 1*(0.5-0.4-0.1) = 0?
Message
De
07/01/2005 03:31:06
 
 
À
06/01/2005 19:20:15
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Database:
MS SQL Server
Divers
Thread ID:
00974881
Message ID:
00974982
Vues:
38
>Oh, "packed decimals" is the name, right? I suppose that it is technically the same, or similar, to BCD (binary coded decimals). The name "packed applies - I think - because two digits are "packed" into each byte.
>

There is some mis-information about BCD & packed decimals. I don't know about mini/mainframe architecture. But in PC, the name is "Binary Coded Decimals" or BCD. There are two types of it, "unpacked BCD" & "packed BCD".

Unpacked BCD only consist of one digit per-byte. The lo-byte is for the digit (unsigned), the hi-byte is for other purposes.
Packed BCD is two digit per byte, one for each nibble (the lo-byte and the hi-byte). The leftmost digit is for sign.

Btw, CONGRATULATIONS for you! :-))))
Regards
Herman
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform