Here's the question you clicked on:
william.briand
Is there a closed form formula that yields the number of digits in a decimally-based number ? A special function ?
3sec^4 x - 10sec^2 x - 8 = 0, what is sin x
Don't understand the question. I give u 4.35, u want a formula that predicts that there are 3 digits in 4.35..
If you want to know how many digits are in the integer x: \[\lfloor \ln(x)/\ln(10) \rfloor + 1\]
Or of course, to compensate for negative values of x: \[\lfloor \ln(\left| x \right|)/\ln(10) \rfloor + 1\]
The only problem is it doesn't give an answer for x = 0.
Many thanks. (If this work for strictly positive integer, I'm OK)