title: jQuery font size wrong result
body: <p>I am trying to write a script to help disabled people to read the site. On a button click, I'd like to increase all font-size in my page. However the script sets wrong values. The code is the following:</p>
  <pre><code>$('main *').each((index, item) =&gt; {
      let current = parseInt($(item).css('font-size'));
      let increased = current * 1.2;
  
      $(item).css({
          fontSize: increased + 'px'
      });
  
  })
  </code></pre>
  <p>However, it give me back totally wrong increased number. For example when the current font size was 14px sometimes it gives back 26px or 32px or 38px; The current value is get by the css() function, so it doesn't depend on the css file, it gets the computed value. When I try to log the current and increased value, it is fine. Something goes wrong, when I try to set it to the element.</p>