title: Javascript counter with decimal places
body: <p>I have a jsfiddle <a href="https://jsfiddle.net/wmaftobx/2/" rel="nofollow">here</a></p>
  
  <p>It's a simple javascript function that counts up to a set number.</p>
  
  <p>Is it possible to do this counting but with one decimal place as well</p>
  
  <p>So it count 1.1, 1.2, 1.3 etc.</p>
  
  <pre><code>    function startCounter(){
          $('.counter').each(function (index) {
              $(this).prop('Counter',0).animate({
                  Counter: $(this).text()
              }, {
                  duration: 2000,
                  easing: 'swing',
                  step: function (now) {
                      $(this).text(Math.ceil(now));
                  }
              });
          });
      }   
  
      startCounter();
  </code></pre>