Base Converter

Base Converter

by adamgilbertdiamond

👁 55 ❤️ 3 ⭐ 4 🔄 0
Created: Sep 16, 2020 Last modified: Sep 25, 2020 Shared: Sep 22, 2020

Description

I used the Scratch Wiki's method of taking the log of (n times (the log of b)) for solving exponent b^n. https://en.scratch-wiki.info/wiki/Solving_Exponents

Instructions

This program represents integers in a starting base, 2-10, as integers in another base, 2-10. In "basic" mode, the program converts numbers from decimal number -127 to 127 represented in the starting base into another base. In "advanced" mode, the program converts numbers represented in the starting base such that the total number of digits in the base you are converting to does not exceed seven place values. For example, if your starting base is ten and the base you are converting to is two, the domain is -127 to 127 because the decimal number 127 is 1111111 in binary. *Remember that the number in each place value must be less than the starting base. (If the starting base is 4, -3321 is in the domain, 4535 is not.)

Project Details

Visibility
Visible
Comments
Enabled

More Cool Projects