FWIW, the PlayStation was meant to have the Nintendo button layout too. In Japan, O is synonymous with “yes/good” sort of like a check mark (✅) and X means “no/bad”. So the X and O buttons were meant to be used in that way. But western game devs didn’t know that, and designed their games with X as confirm and O as decline.
Yup. Rand() chooses a random float value for each entry. By default I believe it’s anywhere between 0 and 1. So it may divide the first bill by .76, then the second by .23, then the third by 0.63, etc… So you’d end up with a completely garbage database because you can’t even undo it by multiplying all of the numbers by a set value.