Decimal to Hexadecimal Conveter in Java (Console-Based)


Hi guys! I'm here again. Today, I will show you a Java program I made that can convert a Decimal Number to its equivalent Hexadecimal Value. It is very easy to do this because I just followed the rules in converting from decimal to hexadecimal number in number system. Take note that there are 16 values or digits used in hexadecimal number system which is the number from 0 to 9, and the first six (6) letters in the alphabet which is from A to F that corresponds to the number 10 to 15, respectively. See the image below. Download the sample program source code and try it on your own. You can add some features if you want or integrate the other program source codes converter I posted here. Happy coding guys! You can learn more in my personal website at: Thank you guys! Hope you like it. Please leave some comments...

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Add new comment