{"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 roundDecimalUnaryToPrecision(value, decimals) {\r\n return \u002Bvalue.toPrecision(decimals);\r\n}\r\n\r\nfunction roundDecimalParseFloatToPrecision(value, decimals) {\r\n return parseFloat(value.toPrecision(decimals));\r\n}\r\n","TestCases":[{"Name":"roundDecimalPow()","Code":"roundDecimalPow(Math.random(), 2)","IsDeferred":false},{"Name":"roundDecimalUnaryToPrecision()","Code":"roundDecimalUnaryToPrecision(Math.random(), 2)","IsDeferred":false},{"Name":"roundDecimalParseFloatToPrecision()","Code":"roundDecimalParseFloatToPrecision(Math.random(), 2)","IsDeferred":false}]}