# What is the binary form of 408

## Convert numbers to different number systems

A number system is a systematic way of representing numbers with symbolic characters and uses a base value to group numbers in compact form. The most common number system is "Decimal" with the base value "10" and a symbolic character set of 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9. However, there are other number systems that are more efficient for a specific purpose can be used. For example, because computers perform calculations and operations using Boolean logic, they use the binary number system, which has a base value of 2.

Microsoft Office Excel has several features that you can use to convert numbers to and from the following number systems:

Number system

Underlying

Symbolic character set

Binary

2

0, 1

Octals

8

0, 1, 2, 3, 4, 5, 6, 7

Decimal

10

0, 1, 2, 3, 4, 5, 6, 7, 8 and 9

16

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F

### Converting a binary number to a decimal number

Use the BININDEZ function for this task.

A.

B.

formula

Description (result)

= BININDEZ (1100100)

Converts Binary 1100100 to Decimal (100)

= BININDEZ (1111111111)

Converts binary 1111111111 to decimal (-1)

### Convert a binary number to a hexadecimal number

Use the BININHEX function for this task.

A.

B.

formula

Description (result)

= BININHEX (11111011; 4)

Converts binary 11111011 to hexadecimal characters with 4 characters (00FB)

= BININHEX (1110)

Converts binary 1110 to hexadecimal (E)

= BININHEX (1111111111)

Converts binary 1111111111 to hexadecimal (ffffffffff)

### Converting a binary number to an octal number

Use the BININOKT function for this task.

A.

B.

formula

Description (result)

= BININOKT (1001; 3)

Converts binary 1001 to an octal number with 3 characters (011)

= BININOKT (1100100)

Converts binary 1100100 to an octal number (144)

= BININOKT (1111111111)

Converts binary 1111111111 to an octal number (7777777777)

### Converts a decimal number into a binary number (dual number).

Use the DECINBINE function for this task.

A.

B.

formula

Description (result)

= DECINBINE (9; 4)

Converts decimal 9 to a binary number with 4 characters (1001)

= DECINBINE (-100)

Converts Decimal-100 to binary (1110011100)

### Convert a decimal number to a hexadecimal number

Use the DECINHEX function for this task.

A.

B.

formula

Description (result)

= DECIN HEX (100; 4)

Converts Decimal 100 to hexadecimal numbers with 4 characters (0064)

= DECIN HEX (-54)

### Convert a decimal number to an octal number

Use the DECINOCT function for this task.

A.

B.

formula

Description (result)

= DECINOC (58; 3)

Converts Decimal 58 to an octal number (072)

= DECINOKT (-100)

Converts decimal to octal number (7777777634)

### Converting a hexadecimal number to a binary number

Use the HEXINBIN function for this task.

A.

B.

formula

Description (result)

= HEXINBIN ("F"; 8)

Converts hexadecimal F into a binary number with 8 characters (00001111)

= HEXINBIN ("B7")

Converts hexadecimal B7 to binary files (10110111)

= HEXINBIN ("FFFFFFFFFF")

Converts hexadecimal ffffffffff to a binary file (1111111111)

### Converting a hexadecimal number to a decimal number

Use the HEXINDEZ function for this task.

A.

B.

formula

Description (result)

= HEXINDEZ ("A5")

Converts hexadecimal A5 to decimal numbers (165)

= HEXINDEZ ("FFFFFFFF5B")

Converts hexadecimal FFFFFFFF5B to decimal (-165)

= HEXINDEZ ("3DA408B9")

Converts hexadecimal 3DA408B9 to decimal (1034160313)

### Convert a hexadecimal number to an octal number

Use the HEXINOKT function for this task.

A.

B.

formula

Description (result)

= HEXINOKT ("F"; 3)

Converts hexadecimal F to an octal number with 3 characters (017)

= HEXINOKT ("3B4E")

Converts hexadecimal 3B4E to an octal number (35516)

= HEXINOKT ("FFFFFFFF00")

Converts hexadecimal FFFFFFFF00 to an octal number (7777777400)

### Converting an octal number to a binary number

Use the OKTINBIN function for this task.

A.

B.

formula

Description (result)

= OKTINBIN (3; 3)

Converts octal 3 to a binary number with 3 characters (011)

= OCTINBIN (7777777000)

Converts octal 7777777000 to binary (1 Billion)

### Convert an octal number to a decimal number

Use the OKTIND function for this task.

A.

B.

formula

Description (result)

= OCTIND (54)

Converts octal 54 to decimal (44)

= OKTINDEZ (7777777533)

Converts octal 7777777533 to decimal (-165)

### Convert an octal number to a hexadecimal number

Use the OCTINE HEX function for this task.

A.

B.

formula

Description (result)

= OCTINE HEX (100; 4)

Converts the octal number 100 to hexadecimal numbers with 4 characters (0040)

= OCTINE HEX (7777777533)

Converts the octal number 7777777533 to hexadecimal numbers (FFFFFFFF5B)