title: find the "string length" of an int
body: <p>basically I want to return the number of digits in the int -> values like this:</p>
  
  <pre><code>(int)1 =&gt; 1
  (int)123 =&gt; 3
  (int)12345678 =&gt; 8
  </code></pre>
  
  <p>I know nothing about C, so please bear with me. I know objective c, but I use ints and floats instead of NSNumbers. I realise I could convert the ints into objective c objects, but this seems faffy, and if I can do it with C I'll know it for the future.</p>
  
  <p>Thanks</p>