I was a teenager and around 1998 I wrote a Delphi program as a mother's day gift for my mother that works as accountant in a big public institution. The program automated counting banknotes (they still have some people that want to receive their monthly salary in cash, and they have to count the total amount and the number of each banknote kinds separately to catch errors). It was just a loop with modal dialogboxes for entering each person's salary in 2 ways. The program also generated a text-file report and allowed to print it.
I was a noob, and the code is horrible, I even used floating points (doubles) for money :/ so there's accuracy bug that happens for big enough numbers. They apparently still use that program (at least a few years ago they did), and they divide the numbers before they become big enough as a workaround for the bug (but then the reports have to be fixed by hand).