Integer Length Function

Dear Users
Does anyone know of any good function that get the length of an integer in C++

I do know of str.length(), however i want something similar for integers

Thanks
Logarithm base 10.
Topic archived. No new replies allowed.