{"ScriptPreparationCode":"var x = 5.236;","TestCases":[{"Name":"Round floating number using lodash round function","Code":"for (var i = 0; i \u003C 1000; i\u002B\u002B) {\r\n _.round(x,2);\r\n}","IsDeferred":false},{"Name":"Round floating number using toFixed()","Code":"for (var i = 0; i \u003C 1000; i\u002B\u002B) {\r\n x.toFixed(2);\r\n}","IsDeferred":false},{"Name":"Round floating number using toFixed() and parseFloat","Code":"for (var i = 0; i \u003C 1000; i\u002B\u002B) {\r\n Number(x.toFixed(2));\r\n}","IsDeferred":false}]}