Type in the number you want to convert. Only put whole numbers, and no letters, commas, etc. For binary to decimal, only put ones and zeroes or it will return 0. Press H to open/close history, and C to clear history. If you don't know what a binary number is, read on. If it gives you the wrong number, please tell me what the input number was in the comments, so I can hopefully fix it. Binary is a base 2 number system, meaning it only has 2 different symbols (1 and 0). Binary numbers are used in computers because it's easy for them to understand (0 or 1 = off or on). Each digit is worth 2x the previous digit, and can be expressed in the formula 2^(x-1). The first digit (starting from right) is equal to 1, the second is 2, the third is 4, the fourth is 16, the fifth is 32, and so on. See how it doubles?
Decimal to Binary will only convert up to 633,825,300,114,114,665,563,979,513,855, and it starts getting the answer incorrect at 18,014,398,509,481,982. Binary to decimal: above 111111111111111111111111111111111111111111111111111111 in binary, or 18,014,398,509,481,982 in decimal it starts rounding the answers (and the converter won't show 18,014,398,509,481,983). I think both of these are just an issue with the number being too long for Scratch to handle. Everything except super simple binary to decimal converter by me. Credit to @qucchia who I learned about Scratch's built in binary to decimal converter from. #logic #converter #calculator #binary