title: Get digits in an integer
body: <p>Is there any way to get the number of digits in an integer? For example:</p>
  
  <pre><code>int a = 12345;
  </code></pre>
  
  <p>I want to determine that <code>a</code> has 5 digits</p>