How to implement a script in php to convert a number from decimal to binary and vice versa?
2 answers
decbin () converts a decimal number to a binary number.
|
If you need any number system, then the base_convert () function will help you.
|
decbin () converts a decimal number to a binary number.
If you need any number system, then the base_convert () function will help you.
Source: https://ru.stackoverflow.com/questions/146263/
All Articles