Difference between revisions of "Hexadecimal"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>CasperVg
m (recat)
m (5 revisions imported)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
'''Hexadecimal''' is a number system where there are 16 base numbers, (in the decimal system["normal numbers"] there are 10 base numbers, 0-9) so there a 16 digits that make up all the other numbers, they are 0-9-A-F.
+
'''Hexadecimal''' is a number system where there are 16 base numbers, so the counting system is 0-9-A-F. This is different from the decimal system (normal numbers) where there are 10 base numbers, 0-9. Because a hexadecimal number can be composed entirely of the digits 0-9 and thus mistaken for a decimal number, it is common to indicate a hexadecimal number by prefixing it with "0x". For example, 0x12345678.
 +
 
 +
Hexadecimal, or hex, numbers are frequently used in [[SimCity 4]]'s internal game files. All [[TGI]]s are listed in hex, and hex numbers are also commonly used as values of various properties. Some editing programs automatically convert hexadecimal values to decimal for easier human understanding, while others do not.
  
 
''See the [[wikipedia:Hexadecimal|wikipedia article on Hexadecimal]]''
 
''See the [[wikipedia:Hexadecimal|wikipedia article on Hexadecimal]]''
  
[[Category:General Modding]]
+
 
 +
[[Category:Modding]]

Latest revision as of 21:40, 3 August 2019

Hexadecimal is a number system where there are 16 base numbers, so the counting system is 0-9-A-F. This is different from the decimal system (normal numbers) where there are 10 base numbers, 0-9. Because a hexadecimal number can be composed entirely of the digits 0-9 and thus mistaken for a decimal number, it is common to indicate a hexadecimal number by prefixing it with "0x". For example, 0x12345678.

Hexadecimal, or hex, numbers are frequently used in SimCity 4's internal game files. All TGIs are listed in hex, and hex numbers are also commonly used as values of various properties. Some editing programs automatically convert hexadecimal values to decimal for easier human understanding, while others do not.

See the wikipedia article on Hexadecimal