Please help with the problem described in the title.
I'm writing a little thing to find prime numbers.
I'm looking for a really fast method.
I'm a very early beginner.
I have thought of dividing the int by 10 until it equals 0.
I have thought of converting the int into a string and finding length.
Is there a faster way?
Thanks very much in advance.