{"ScriptPreparationCode":"var roundFixed = (value, precision = 2) =\u003E \u002B((\u002Bvalue).toFixed(precision));\r\nvar roundMath = (value, precision = 2) =\u003E {\r\n\tconst rounder = 10 ** precision;\r\n\treturn Math.round((\u002Bvalue) * rounder) / rounder;\r\n};\r\n\r\nvar gross = \u0027999999.99\u0027;\r\nvar discount = \u002715\u0027;\r\n","TestCases":[{"Name":"fixed","Code":"const sum = roundFixed(roundFixed(gross) * roundFixed(discount) / 100);","IsDeferred":false},{"Name":"math","Code":"const sum = roundMath(roundMath(gross) * roundMath(discount) / 100);","IsDeferred":false}]}