~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ On the off chance you see this, welcome to my humble abode! (Or project? Profile? I don't know.) This was a little project I put together to work with joining, random numbers, variables, and lists! By the off-chance you actually use code from this project (Can't think of a reason why), just make sure to mention me and my project. Maybe even message me so I could see who's using it, and for what? Anyways, instructions are in the project, and now, I'm going to explain how it works. ~~~~~~~~~~~~~~~~~~How it works:~~~~~~~~~~~~~~~~ If you take a look inside the project, the custom block may seem scary and complicated, but it really isn't. First, the code asks you how long you want your whole number and your decimal number to be. Then, it spits those numbers into a repeat block saying to create a number from 0 to 9 however many times you wanted it to (That's the length.). Then, it records those numbers on a list, adds a decimal point, and generates the decimal section in the same way it generated the whole number part. After that, it checks for 0's at the end and beginning of the number to delete, to shorten the number (0089 to 89, 8.70 to 8.7). Of course, with this possibility comes the fact that the decimals might be all 0's, so in that case, it is programmed to delete the decimal when that happens. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ So, yeah! Thanks for reading that, if you even did. I'll probably post more of these projects as they're more fun to make to me, since I'm great at math and downright awful at actual coding.
All code by me. Just credit my account when using it, and message me, as mentioned before. \(.0.)/ u saw dis woah