title: Display the input value of a factor of 10
body: <p>I have this code:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="number"&gt;
    &lt;input type="text" onkeyup="separateNum(this.value,this);" value="{input number}"&gt;
    &lt;span&gt;box: {number}&lt;/span&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>I want when the user enters a number in the input, it is divided by 10 and displayed in a span.
  For example, if the user enters the number 21, the user will immediately see the number 2 (without any further decimal value)</p>