title: How to store the one decimal point after calculating the average in javascript
body: <pre><code> var result = parseFloat(text1) + parseFloat(text2) + parseFloat(text3);
   result = Math.floor(result / 3)
   expect(result.toFixed(1)).to.equal(14.2);
  
   text1=14.1, text 2=22.3, 6.3
  </code></pre>
  <p>Result in cypress</p>
  <p>expected <code>14.0</code> to <code>equal 14.2</code></p>