It is already a binary number. Decimal, octal and hexadecimal are ways to display binary numbers that are easier for humans to comprehend. As choroba mentioned you can use printf to format how the number gets displayed.
In reply to Re: convert to binary number
by Lotus1
in thread convert to binary number
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |