{"ScriptPreparationCode":"BigNumber.set({\r\n EXPONENTIAL_AT: 999,\r\n DECIMAL_PLACES: 18\r\n});\r\nDecimal.set({\r\n toExpNeg: -999,\r\n toExpPos: 999,\r\n precision: 18\r\n});\r\nBig.DP = 18;\r\nBig.NE = -999;\r\nBig.PE = 999;","TestCases":[{"Name":"Native toString()","Code":"{\r\n const a = Math.random();\r\n const b = Math.random();\r\n const c = Math.random();\r\n const d = Math.random();\r\n ((a \u002B b) * (c - d)).toString();\r\n}","IsDeferred":false},{"Name":"Native toFixed(9)","Code":"{\r\n const a = Math.random();\r\n const b = Math.random();\r\n const c = Math.random();\r\n const d = Math.random();\r\n ((a \u002B b) * (c - d)).toFixed(9);\r\n}","IsDeferred":false},{"Name":"bignumber.js toString()","Code":"{\r\n const a = BigNumber(Math.random());\r\n const b = BigNumber(Math.random());\r\n const c = BigNumber(Math.random());\r\n const d = BigNumber(Math.random());\r\n a.plus(b).times(c.minus(d)).toString();\r\n}","IsDeferred":false},{"Name":"bignumber.js toFixed(18)","Code":"{\r\n const a = BigNumber(Math.random());\r\n const b = BigNumber(Math.random());\r\n const c = BigNumber(Math.random());\r\n const d = BigNumber(Math.random());\r\n a.plus(b).times(c.minus(d)).toFixed(18);\r\n}","IsDeferred":false},{"Name":"big.js toString()","Code":"{\r\n const a = Big(Math.random());\r\n const b = Big(Math.random());\r\n const c = Big(Math.random());\r\n const d = Big(Math.random());\r\n a.plus(b).times(c.minus(d)).toString();\r\n}","IsDeferred":false},{"Name":"big.js toFixed(18)","Code":"{\r\n const a = Big(Math.random());\r\n const b = Big(Math.random());\r\n const c = Big(Math.random());\r\n const d = Big(Math.random());\r\n a.plus(b).times(c.minus(d)).toFixed(18);\r\n}","IsDeferred":false},{"Name":"decimal.js toString()","Code":"{\r\n const a = Decimal(Math.random());\r\n const b = Decimal(Math.random());\r\n const c = Decimal(Math.random());\r\n const d = Decimal(Math.random());\r\n a.plus(b).times(c.minus(d)).toString();\r\n}","IsDeferred":false},{"Name":"decimal.js toFixed(18)","Code":"{\r\n const a = Decimal(Math.random());\r\n const b = Decimal(Math.random());\r\n const c = Decimal(Math.random());\r\n const d = Decimal(Math.random());\r\n a.plus(b).times(c.minus(d)).toFixed(18);\r\n}","IsDeferred":false}]}