{"ScriptPreparationCode":null,"TestCases":[{"Name":"Native","Code":"const val = 1 / ( 500724 * ( 1000002/3000000*0.93 ) * 100 ).toString();\r\n\r\nconsole.log(val);","IsDeferred":false},{"Name":"Native \u002B toFixed","Code":"const val = 1 / ( 500724 * ( 1000002/3000000*0.93 ) * 100 ).toFixed(2);\r\n\r\nconsole.log(val);","IsDeferred":false},{"Name":"big.js","Code":"const one = new Big(1);\r\nconst totalStake = new Big(500724);\r\nconst block = new Big(1000002).div(30000000).mul(0.93);\r\n\r\nconst val = one.div((totalStake).mul(block).mul(31536000)).mul(100).toFixed(2);\r\n\r\nconsole.log(val);","IsDeferred":false},{"Name":"bignumber.js","Code":"const one = new BigNumber(1);\r\nconst totalStake = new BigNumber(500724);\r\nconst block = new BigNumber(1000002).div(30000000).times(0.93);\r\n\r\nconst val = one.div((totalStake).times(block).times(31536000)).times(100).toFormat(2);\r\n\r\nconsole.log(val);","IsDeferred":false}]}