Hexadecimal/fr: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: Hexadecimal/fr
| Old | New | Line | |
|---|---|---|---|
| 1 | + | L'hexadécimal (hex) est un système de numération en base 16. En hexadécimal, les chiffres sont répresentés par les symboles 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E et F. Les nombres hexadécimaux sont faciles à convertir en code binaire de la machine est très facile et ils sont plus compacts que les [[Binary numeral system/fr|nombres binaires]]. un nombre en hexadécimal représente 4 chiffres binaires (4-bits). | |
| 2 | + | ||
| 3 | + | En [[Pascal/fr|Pascal]], la notation hexadécimale est indiquée par le préfixe [[Dollar sign/fr|$]]. | |
| 4 | + | ||
| 5 | + | # Table de conversion | |
| 6 | + | ||
| 7 | + | | Hexadécimal | Décimal | Binaire | | |
| 8 | + | |----|----|----| | |
| 9 | + | | \$0000 | 0 | [[Percent sign/fr|%]]0000000000000000 | | |
| 10 | + | | \$0001 | 1 | %0000000000000001 | | |
| 11 | + | | \$0002 | 2 | %0000000000000010 | | |
| 12 | + | | \$0003 | 3 | %0000000000000011 | | |
| 13 | + | | \$0004 | 4 | %0000000000000100 | | |
| 14 | + | | \$0005 | 5 | %0000000000000101 | | |
| 15 | + | | \$0006 | 6 | %0000000000000110 | | |
| 16 | + | | \$0007 | 7 | %0000000000000111 | | |
| 17 | + | | \$0008 | 8 | %0000000000001000 | | |
| 18 | + | | \$0009 | 9 | %0000000000001001 | | |
| 19 | + | | \$000a | 10 | %0000000000001010 | | |
| 20 | + | | \$000b | 11 | %0000000000001011 | | |
| 21 | + | | \$000c | 12 | %0000000000001100 | | |
| 22 | + | | \$000d | 13 | %0000000000001101 | | |
| 23 | + | | \$000e | 14 | %0000000000001110 | | |
| 24 | + | | \$000f | 15 | %0000000000001111 | | |
| 25 | + | | \$0010 | 16 | %0000000000010000 | | |
| 26 | + | | \$0011 | 17 | %0000000000010001 | | |
| 27 | + | | \$0012 | 18 | %0000000000010010 | | |
| 28 | + | | \$0013 | 19 | %0000000000010011 | | |
| 29 | + | | \$0014 | 20 | %0000000000010100 | | |
| 30 | + | | ... | ... | ... | | |
| 31 | + | | \$009f | 159 | %0000000010011111 | | |
| 32 | + | | \$00a0 | 160 | %0000000010100000 | | |
| 33 | + | | ... | ... | ... | | |
| 34 | + | | \$00ff | 255 | %0000000011111111 | | |
| 35 | + | | \$0100 | 256 | %0000000100000000 | | |
| 36 | + | | \$0101 | 257 | %0000000100000001 | | |
| 37 | + | | | | | | |
| 38 | + | ||
| 39 | + | # Voir aussi | |
| 40 | + | ||
| 41 | + | [[Function/fr|Fonctions]]: | |
| 42 | + | ||
| 43 | + | - [[doc:rtl/strutils/hex2dec.html|Hex2Dec]] Convertit une valeur hexadécimal en [[String/fr|string]] en son équivalent en décimal. | |
| 44 | + | - [[doc:rtl/strutils/hextobin.html|HexToBin]] Convertit une chaîne hexadécimale en un tampon binaire. | |
| 45 | + | - [[doc:rtl/sysutils/inttohex.html|IntToHex]] Convertit une valeur [[Integer/fr|integer]] en une chaîne en hexadécimal. | |
| 46 | + | ||
| 47 | + | [[Procedure/fr|Procedure]] | |
| 48 | + | ||
| 49 | + | - [[doc:rtl/strutils/bintohex.html|BinToHex]] Convertit un tampon, binaire en une chaîne en hexadécimal. | |
| 50 | + | ||
| 51 | + | --- | |
| 52 | + | *From the Free Pascal wiki, page "Hexadecimal/fr", as it stood on 2020-05-03 after a change by E-ric, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* |
