JSFiddle - React, Tailwind, and code Playground

JavaScript

var a = Math.round(parseFloat(32.30769230769231) * 10) / 10;
alert(a);