Octal number
ID octal_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 8 with the prefix 0o, or with a leading zero as in C and in Unix file modes. Without a prefix an octal number cannot be told from a decimal one, so the pattern requires it.
- 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[oO]?[0-7]+$
Python re syntax.
Examples
| Value | Description |
|---|---|
| 0o755 | 493 with the prefix 0o |
| 0644 | 420 with a leading zero, a common file mode |
| 0o789 invalid | The digits 8 and 9 |
Translations
| Language | Name | Description |
|---|---|---|
| Russian | Число в восьмеричной записи |
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/octal_number - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/values/octal_number.yamlon GitHub