as said above, it is difficult to help without seeing what you did.
the basic principle of what you want is simple to describe, but the problems are in the details.
you basically need ten pictures for the ten numbers, then calculate which number to display where and split that number into a sequence of the available digits.
but a lot of people mess up the mathematics of the calculation part, and we need to see what you did there before we can help.