DEC2BIN function
DEC2BIN(number,
digitCount?) DEC2BIN(number;
digitCount?)
number
Number or { Number }
A decimal number.
digitCount
Number or { Number } (optional)
The number of digits to return. If omitted, the minimum number of digits necessary to accurately represent the number is used.
Returns
Text or { Text }
A binary number.
Converts a decimal number to a binary number. Also consider using the more general function BASE. Perform the reverse conversion using BIN2DEC.