Datatypes › numeric

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

ValueDescription
0o755493 with the prefix 0o
0644420 with a leading zero, a common file mode
0o789 invalidThe digits 8 and 9

Translations

LanguageNameDescription
RussianЧисло в восьмеричной записи

Use this record