//乘法 function test3() { var a = 1.5; var b = 2.5; var c = Decimal(a).mul(Decimal(b)); console.log("结果是" + c.toNumber()); }
1、mul表示相乘