Hexadecimal number
ID hex_number
Pattern of numericNot PIIDraft
This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).
Non-negative integer written in base 16 with the prefix 0x, as in programming languages, memory addresses and error codes. The pattern requires the prefix, because without it a value cannot be told from a hash, a colour or an identifier.
- Pattern of
- Numeric value
numeric - Categories
- All measurable values (percentage, amount and e.t.c), Common
- Countries
- Global (not tied to a country)
- Languages
- Common to most languages
- Quality
- 65/100 · missing: source link, mapping (Wikidata, Schema.org, ...), detector coverage
- Metacrafter rules
- no detection rule yet
- Supported by tools
- no tool record lists this type yet
Regular expression
^0[xX][0-9A-Fa-f]+$
Python re syntax.
Examples
| Value | Description |
|---|---|
| 0xFF | 255 |
| 0x1f4 | 500 |
| FF invalid | The prefix is missing |
Translations
| Language | Name | Description |
|---|---|---|
| Russian | Число в шестнадцатеричной записи |
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/hex_number - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/values/hex_number.yamlon GitHub