Project

Number Base Converter (Kotlin)

Medium
843 completions
~ 18 hours
4.2

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 and recreate built-in functions to practice algorithmic systems.

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:
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

Youssef Boukhadda avatar
Youssef Boukhadda
1 year ago
good practice especially the use of less used type like BigInt and BigDecimal and their specific operators and functions.
Konstantinos Gioldasis avatar
Konstantinos Gioldasis
1 year ago
Very nice project to work on BigIntegers, BigDecimals and Debugging.
Meriç Alkışla avatar
Meriç Alkışla
2 years ago
 During this project, I've learned about various numeral systems and how to convert numbers between them, including decimal, binary, octal, hexadecimal, and fractional bases. I've become more familiar with handling different data types, such as BigInteger and BigDecimal, to accommodate large numbers ...

4.2

Learners who completed this project within the Kotlin Developer course rated it as follows:
Usefulness
4.4
Fun
4.0
Clarity
4.2