[MATH?] Why cant the money in Bloons TD Battles (ingame) go over 2.1 billion? (read desc plz)
As you all know (hopefully) the maximum amount of cash in a battle you can get is 2147483648. so i did some research and everything (not really) and lets get on with it. so the maximum amount of cash in a BTDB battle is 2.147483648 billion, which is all broken down to 32 bits. OR 32 characters long of binary numbers which consists of 0's and 1's and because there is a lot less types of numbers like 8000 in the IRL is like 1110000001 in binary. so the numbers in binary can get scaily large. so 32 bits = space for 32 1's and 0's. so 64 bits = space for 64 0's and 1's... in binary... HOWEVER 2.147483648 billion in binary is one 1 with 31 0's after it INTSEAD of 32 1's, and IF we took 32 1's i would represent about 4.2 billion instead of 2.1 billion... so here i had to thank my dad for some information about binary numbers and programming... so as you know the binary number system have no "own" negative numbers so instead you have to make some by choosing numbers above a specific point of... numbers? anyway when you do that in programming it is called "Two Complement" i think?!?! anyways as dad explained for two complements to work correctly the highest positive number has to end with a 1 and 0's which would in 32 bits equal a 1 with 31 0's after it! which once again means 2.147483648 billion
Oh Yeah... this did absolutley not take about 2 days to figure out?!?!