{"ScriptPreparationCode":"function roundDecimalPow(value, decimals) {\r\n const factor = Math.pow(10, decimals);\r\n return Math.round(value * factor) / factor;\r\n}\r\n\r\nfunction roundDecimalToPrecision(value, decimals) {\r\n return parseFloat(value.toPrecision(decimals))\r\n}","TestCases":[{"Name":"roundDecimalPow()","Code":"roundDecimalPow(Math.random(), 2)","IsDeferred":false},{"Name":"roundDecimalToPrecision()","Code":"roundDecimalToPrecision(Math.random(), 2)","IsDeferred":false}]}