Project: lb_radix

JavaScript·1 min read·Apr 8, 2025

abacus illustration

In mathematics, the radix (or base) of a number system is the number of unique digits, including zero, used to represent numbers. For example, the decimal system has a radix of 10 (digits 0-9), while the binary system has a radix of 2 (digits 0 and 1).

The objective of this project is to write a JavaScript function that converts a number from a base to another base.

General instructions

Here are the general instructions to complete this project:

  1. The script must be named lb_radix.js.

  2. The script must be written in JavaScript.

Implementation

Here are the implementation details for this project:

Unlock the program 🚀

Pay once, own it forever.

€79

30-day money-back guarantee

  • 13 modules
  • 113 lessons with full-code examples
  • 29 projects with commented solutions
  • All future lesson and project updates
  • Lifetime access

By submitting this form, you agree to the Terms & Conditions and Privacy Policy.