Suppose you need to explain "What is a logarithm?" to an intelligent but math-phobic adult (or a student well-prior to her introduction to logarithms).1 I have used base-$10$, saying that, essentially, the logarithm (base-$10$) of a number is the number of digits needed to represent it in decimal notation. But that's not quite right at the $10^k$ transitions. And neither floor nor ceiling makes a clean statement about the number of digits:
$$\lfloor \log_{10}(999) \rfloor = \lfloor 2.9996 \rfloor = 2$$ $$\lfloor \log_{10}(1000) \rfloor = \lfloor 3 \rfloor = 3$$ $$\lfloor \log_{10}(1001) \rfloor = \lfloor 3.0004 \rfloor = 3$$
$$\lceil \log_{10}(999) \rceil = \lceil 2.9996 \rceil = 3$$ $$\lceil \log_{10}(1000) \rceil = \lceil 3 \rceil = 3$$ $$\lceil \log_{10}(1001) \rceil = \lceil 3.0004 \rceil = 4$$
Is there some clean way to interpret $\log_{10}$ as the number of digits, without getting hung up on the detail that $1000$ needs $4$ digits but $\log_{10}(1000)=3$, or trying to explain scientific notation (which accords with the floor):
$$999=9.99\times10^2$$ $$1000=1.000\times10^3$$ $$1001=1.001\times10^3$$
The caveats I find necessary to explain the nuances destroy the clarity I seek to achieve.
1 In response to a request to explain what I mean by mathematically naive, I answered: "I was thinking of a generic family gathering. So in this context, most people do not understand exponents. But everyone understands that 1,234 has 4 digits."