title: Converting base 10 to 12, having trouble adding alphabet characters recursivly
body: <p>I'm having trouble using recursion to add letters to a base 10 - base 12 conversion. How would I go about adding letters into my function? I was thinking about adding an if statement in, but i have no idea where and how to go about this. pointers are appreciated Thanks!</p>
  
  <p>Given a count from 1 to 12:</p>
  
  <pre><code>Dec 1 2 3 4 5 6 7 8 9 10 11 12 
  
  Duo 1 2 3 4 5 6 7 8 9 X  E  10
  </code></pre>
  
  <p>my function:</p>
  
  <pre><code>template&lt;class myType&gt;
  myType convertDec(myType number){
      if(number == 0)
          return number;
      //if statement somewhere in here? not sure considering i can't touch the return statement
      return (number % 12) + 10*convertDec(number / 12);
  }
  </code></pre>
  
  <p>example ideal output:</p>
  
  <p>65280 = 31940 <strong>(works fine)</strong></p>
  
  <p>2147483626 = 4EE23088X <strong>(doesnt work!)</strong></p>