{"ScriptPreparationCode":null,"TestCases":[{"Name":"my","Code":"function plus(a, b) {\r\n let result = [];\r\n \r\n const aSplit = String(a).split(\u0022.\u0022);\r\n const bSplit = String(b).split(\u0022.\u0022);\r\n \r\n result[0] = [BigInt(aSplit[0]) \u002B BigInt(bSplit[0])];\r\n \r\n if(!aSplit[1]) {\r\n aSplit[1] = 0;\r\n }\r\n if(!bSplit[1]) {\r\n bSplit[1] = 0;\r\n }\r\n \r\n result[1] = [BigInt(aSplit[1]) \u002B BigInt(bSplit[1])];\r\n \r\n if(result[1] \u003E 9) {\r\n result[0]\u002B\u002B;\r\n result[1] = result[1] % 10;\r\n }\r\n \r\n return String(result.join(\u0027.\u0027));\r\n}\r\nplus(0.1,0.3)","IsDeferred":false},{"Name":"BigNumber","Code":"var a = new BigNumber(\u00220.1\u0022);\r\nvar b = new BigNumber(\u00220.2\u0022);\r\na.plus(b).toString();","IsDeferred":false},{"Name":"Native","Code":"var a = 0.1;\r\nvar b = 0.2;\r\n((a \u002B b) * b).toString();","IsDeferred":false}]}