← All functions

DEC2BIN

Supported, behaves as documented

Category: Engineering · Last tested 2026-08-06

Real, executed compatibility results for the DEC2BIN function across Microsoft Excel, Google Sheets, and LibreOffice Calc — verified by actually running it. Syntax and links to each vendor’s official documentation are below.

Support matrix

EngineDocumentedLive-testedVerdict
Excel Yes Not yet n/a
Google Sheets Yes Not yet n/a
LibreOffice Calc Yes Yes (25.8.7.3, 2026-08-06) Supported, behaves as documented

Executed test cases

LibreOffice Calc 25.8.7.3 (tested 2026-08-06)

FormulaDescriptionResultExpectedVerdict
=DEC2BIN(10) Converts a decimal number to its binary text representation 1010 1010 Matched
=DEC2BIN(5) 5 in decimal is 101 in binary 101 101 Matched
=DEC2BIN(10,8) The optional places argument pads the result to a fixed width with leading zeros 00001010 00001010 Matched

Docs & syntax