How can I code something like this?
If my money reaches 1,000,000,000 which is 1 billion it will reset the digits to 1 and add a letter B on the side. after that, if the money reaches 1,000 Billion, instead of adding the 4th digit, it will reset again to 1 digit and change the word to trillion.