{
  "function": "HEX2OCT",
  "software": "LibreOffice Calc",
  "guide": "/libreoffice/functions/hex2oct/",
  "review_date": "2026-10-12",
  "scope": "Selected example checks, not certification of every formula, error, locale or cross-application import/export.",
  "native_engine": "LibreOffice 25.2.3.2 520(Build:2)",
  "native_assertions": 5,
  "native_observations": 0,
  "native_cases": [
    {
      "id": "HEX2OCT-1",
      "function": "HEX2OCT",
      "source_path": "content/libreoffice/functions/hex2oct.md",
      "formula": "=HEX2OCT(\"6a\";4)",
      "inputs": {},
      "expected": "0152",
      "kind": "text",
      "actual": "0152",
      "native_error": 0,
      "passed": true
    },
    {
      "id": "HEX2OCT-2",
      "function": "HEX2OCT",
      "source_path": "content/libreoffice/functions/hex2oct.md",
      "formula": "=HEX2OCT(\"F\";3)",
      "inputs": {},
      "expected": "017",
      "kind": "text",
      "actual": "017",
      "native_error": 0,
      "passed": true
    },
    {
      "id": "HEX2OCT-3",
      "function": "HEX2OCT",
      "source_path": "content/libreoffice/functions/hex2oct.md",
      "formula": "=HEX2OCT(\"0\";4)",
      "inputs": {},
      "expected": "0000",
      "kind": "text",
      "actual": "0000",
      "native_error": 0,
      "passed": true
    },
    {
      "id": "HEX2OCT-4",
      "function": "HEX2OCT",
      "source_path": "content/libreoffice/functions/hex2oct.md",
      "formula": "=HEX2OCT(\"FFFFFFFFFF\")",
      "inputs": {},
      "expected": "7777777777",
      "kind": "text",
      "actual": "7777777777",
      "native_error": 0,
      "passed": true
    },
    {
      "id": "HEX2OCT-5",
      "function": "HEX2OCT",
      "source_path": "content/libreoffice/functions/hex2oct.md",
      "formula": "=HEX2OCT(\"0xFF\")",
      "inputs": {},
      "expected": 502,
      "kind": "error",
      "actual": 502,
      "native_error": 502,
      "passed": true
    }
  ],
  "independent_model_cases": [],
  "documented_expected_results_not_native": false,
  "sources": [
    "https://help.libreoffice.org/latest/en-US/text/scalc/01/04060115.html",
    "https://support.microsoft.com/en-us/excel/functions/hex2oct-function",
    "https://support.google.com/docs/answer/3093142?hl=en"
  ]
}
