Greetings, I am having problems trying to display large numbers in MySQL. It seems that the largest number for an INT column is 2147483647 and the largest number for UNSIGNED is twice this. I would like to display numbers as large as 1 Trillion, such as a debt number, fiscal information or the earth's population to an exact figure (no exponents). I also can't turn these numbers into VARCHAR or TEXT because I need to perform mathematics with them. Thanks
Use an unisigned BIGINT. It maxes out significantly higher - 18446744073709551615 is the max value. .
I remember when I first started learning PHP / MySQL and I ran into that problem over and over... I thought for sure there was some kind of conspiracy involving the number 2147483647 lol.