title: Jquery convert integer to string and back
body: <p>These are the logical steps which I need to do with jquery:</p>
  
  <p><code>x</code> is a 2 digit number(integer) derived from an input.value();</p>
  
  <pre><code>If  var x is **not** 33 or 44
      Convert this 2 digit number to string;
      split the string in 2 parts as number;
      Add these 2 values until they reduce to single digit;
      Return var x value as this value;
  Else
      Return var x value literally as 33 or 44 whatever is the case;
  </code></pre>
  
  <p>Thanks!</p>