since the bank can only keep 2,147,483,647$ (the maximum positive value for a 32-bit signed binary integer)
it seems you store the value in an integer variable in your databases
why not store it in an array?
and when any item in the array gets to its max (2B) it just fills the next item
so the value would be the sums of all items in the array
it seems you store the value in an integer variable in your databases
why not store it in an array?
Code:
MySQL 5.7 now provides a JSON data type. This new datatype provides a convenient new way to store complex data: lists, dictionaries, etc.
so the value would be the sums of all items in the array
Comment