Comparing performance of: toFixed(4) vs toPrecision(4).toString() vs (Math.round(*10000)/10000).toString(). Please note that Math.floor, Math.trunc and ~~ can't be used for accurate rounding
Comparing performance of: someFloat.toFixed(4) vs someFloat.toPrecision(4) vs Math.round(someFloat*10000)/10000