var twoPlacedFloat = parseFloat(yourString).toFixed(2)
let example = 3.35464464374256; example = Math.round(example * 10) / 10