Project: lb_radix
JavaScript·1 min read·Apr 8, 2025

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:
-
The script must be named
lb_radix.js. -
The script must be written in JavaScript.
Implementation
Here are the implementation details for this project: