{"ScriptPreparationCode":"var someFloat = 0.123456789;","TestCases":[{"Name":"toFixed(4) someFloat.toFixed(4); someFloat.t","Code":"someFloat.toFixed(4);","IsDeferred":false},{"Name":"toPrecision(4).toString()","Code":"someFloat.toPrecision(4);","IsDeferred":false},{"Name":"(Math.round(*10000)/10000).toString()","Code":"(Math.round(someFloat*10000)/10000);","IsDeferred":false},{"Name":"Math.floor fast","Code":"~~(someFloat * 10000) / 10000;","IsDeferred":false},{"Name":"Math.trunc","Code":"Math.trunc(someFloat * 10000) / 10000;","IsDeferred":false},{"Name":"numeraljs","Code":"numeral(someFloat).format(\u00270.0000\u0027);","IsDeferred":false}]}