{"ScriptPreparationCode":"var el = document.getElementById(\u0027num\u0027);","TestCases":[{"Name":"parseInt","Code":"var decimal = 30.0;\r\nfor (var i = 0; i \u003C 10000; i\u002B\u002B) {\r\n decimal \u002B= (i / 1000);\r\n el.innerHTML = parseInt(decimal, 10);\r\n}","IsDeferred":false},{"Name":"toFixed","Code":"var decimal = 30.0;\r\nfor (var i = 0; i \u003C 10000; i\u002B\u002B) {\r\n decimal \u002B= (i / 1000);\r\n el.innerHTML = decimal.toFixed();\r\n}","IsDeferred":false},{"Name":"Tilde","Code":"var decimal = 30.0;\r\nfor (var i = 0; i \u003C 10000; i\u002B\u002B) {\r\n decimal \u002B= (i / 1000);\r\n el.innerHTML = ~~decimal;\r\n}","IsDeferred":false},{"Name":"Bitwise","Code":"var decimal = 30.0;\r\nfor (var i = 0; i \u003C 10000; i\u002B\u002B) {\r\n decimal \u002B= (i / 1000);\r\n el.innerHTML = decimal | 0;\r\n}","IsDeferred":false},{"Name":"Math.round","Code":"var decimal = 30.0;\r\nfor (var i = 0; i \u003C 10000; i\u002B\u002B) {\r\n decimal \u002B= (i / 1000);\r\n el.innerHTML = Math.round(decimal);\r\n}","IsDeferred":false},{"Name":"Math.trunc","Code":"var decimal = 30.0;\r\nfor (var i = 0; i \u003C 10000; i\u002B\u002B) {\r\n decimal \u002B= (i / 1000);\r\n el.innerHTML = Math.trunc(decimal);\r\n}","IsDeferred":false}]}