This is basically my updated version of my Binary Base Converter (link: https://scratch.mit.edu/projects/1206614640/ But, here you can convert a decimal base value to binary, octal or hexadecimal. ------------------------------------------------------------------------- What each variable means (Boring stuff for nerds): - After Dividing No.s are basically all the numbers you get after dividing by the base. - Updated Dividing No. is used for code purposes for knowing what is the next number after dividing by the base. - Remainders/Individual No. are all the remainders when you divide by the base (mod), which is also the individual numbers for the conversion - Ordering No. is also used for code purposes. As in the remainders list, all the numbers are backwards, meaning the real number is from bottom to top. This variable is used to fix that issue - Final No. is, as it says, the final number after conversion. ------------------------------------------------------------------------- Tags: #all #all #all #all #all #all #all #all #all
⚠️NOTE⚠️ Im not exactly sure why, but scratch has problems converting large decimal base values, so if you see a error, it means the number is too big. Thanks to my ICT teacher for teaching us Base Convertions :)