Converts a decimal number to binary.
Syntax
decimal_number: The decimal number to be converted to binary. It must be between -512 and 511. Eg., 478.75
Remarks
When the result value not does have the specified
num_of_digits
, zeroes are added to the left of the result value.
Examples
|
Formula
|
Result
|
|
=DEC2BIN(A2)
|
1100
|
|
=DEC2BIN(A3)
|
1000001100
|
|
=DEC2BIN(A4;12)
|
000111011110
|
Possible Errors
|
Errors
|
Meaning
|
|
#N/A!
|
|
|
#NAME!
|
|
|
#VALUE!
|
|
|
#REF!
|
|
|
#NUM!
|
|
Similar Functions