Unsigned wouldn't really fix the problem, since planetary credits double every two days. The only solution is to sacrifice some precision and use floating-point numbers. As it was, I had lost precision in the last three digits before my credits overflowed, so there's some converting going on.