How to obtain the number of digits in $n!$ ?
My approach :
I Used Stirling's formula to find out the approximate value of $n!$
Let the approximate value be $S$
Thus, number of digits in $\ = \left \lfloor \log S \right \rfloor$ + 1
where $\left \lfloor . \right \rfloor$ is floor function.