Project

Number Base Converter (Java)

Hard
703 completions
~ 27 hours
4.0

You will master loops and functions, learn about numeric data types, and explore different numeral systems including binary — one of the basic concepts in programming.

Provided by

JetBrains Academy JetBrains Academy

About

We’re all quite used to our good old decimal system of numerals. But let’s not forget that there are other ways to count! Whether we need to convert numbers from one system to another just for fun or to store large data more efficiently, a converter proves helpful. In this project, you will create your own tool that will help you convert numbers from one system to another.

Training project icon

Training project

This project allows you to practice and strengthen your coding skills, helping you get ready for more advanced tasks ahead.

What you'll learn

Once you choose a project, we'll provide you with a study plan that includes all the necessary topics from your course to get it built. Here’s what awaits you:
Learn the basics of input and output to implement a simple logic: teach the program to convert the user input number to binary, octal, and hexadecimal systems.
Practice loop, function, and string processing and give your program new functionality: converting user input numbers to the decimal system. Also, add commands to determine what the program should do next.
Upgrade your converter: enable it to convert numbers between any numeral systems. While you're at it, master loops and learn how to store large numbers.
Make it possible for the converter to work with fractions, especially with large fractional numbers.

Reviews

Luiz Azevedo avatar
Luiz Azevedo
3 months ago
If you still don't know why 0.1 + 0.2 is not 0.3, this project will definitely help you.
Matúš Caban avatar
Matúš Caban
6 months ago
This is an interesting project where you'll learn about the BigInteger and BigDecimal classes, and how to convert all types of numbers, including decimals, to and from any base
Suite Mang avatar
Suite Mang
12 months ago
I have learned about big Decimal, Big Integer ,compare and regex.

4.0

Learners who completed this project within the Java Desktop Application Developer course rated it as follows:
Usefulness
4.2
Fun
3.8
Clarity
4.1