{
  "function": "HEX2BIN",
  "software": "LibreOffice Calc",
  "guide": "/libreoffice/functions/hex2bin/",
  "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": "HEX2BIN-1",
      "function": "HEX2BIN",
      "source_path": "content/libreoffice/functions/hex2bin.md",
      "formula": "=HEX2BIN(\"6A\";8)",
      "inputs": {},
      "expected": "01101010",
      "kind": "text",
      "actual": "01101010",
      "native_error": 0,
      "passed": true
    },
    {
      "id": "HEX2BIN-2",
      "function": "HEX2BIN",
      "source_path": "content/libreoffice/functions/hex2bin.md",
      "formula": "=HEX2BIN(\"A\";8)",
      "inputs": {},
      "expected": "00001010",
      "kind": "text",
      "actual": "00001010",
      "native_error": 0,
      "passed": true
    },
    {
      "id": "HEX2BIN-3",
      "function": "HEX2BIN",
      "source_path": "content/libreoffice/functions/hex2bin.md",
      "formula": "=HEX2BIN(\"3F\";8)",
      "inputs": {},
      "expected": "00111111",
      "kind": "text",
      "actual": "00111111",
      "native_error": 0,
      "passed": true
    },
    {
      "id": "HEX2BIN-4",
      "function": "HEX2BIN",
      "source_path": "content/libreoffice/functions/hex2bin.md",
      "formula": "=HEX2BIN(\"0\";4)",
      "inputs": {},
      "expected": "0000",
      "kind": "text",
      "actual": "0000",
      "native_error": 0,
      "passed": true
    },
    {
      "id": "HEX2BIN-5",
      "function": "HEX2BIN",
      "source_path": "content/libreoffice/functions/hex2bin.md",
      "formula": "=HEX2BIN(\"G\")",
      "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/hex2bin-function"
  ]
}
