To find the total cost of all the digits needed to number the lockers from 1 to 800, we need to first count how many digits we will need.
There are 9 single-digit numbers from 1 to 9, which each require one digit.
There are 90 two-digit numbers from 10 to 99, which each require two digits.
There are 700 three-digit numbers from 100 to 800, which each require three digits.
So the total number of digits we need is:
9(1) + 90(2) + 700(3) = 9 + 180 + 2100 = 2289
Each digit costs 10 cents, so the total cost will be:
2289 digits × $0.10/digit = $228.90
Therefore, the total cost of all the digits needed to number the lockers is $228.90.