|
@@ -106,5 +106,5 @@ const ZhCalc = (function () {
|
|
function round(value, decimal) {
|
|
function round(value, decimal) {
|
|
return value ? Decimal.round(value, decimal).toNumber() : null;
|
|
return value ? Decimal.round(value, decimal).toNumber() : null;
|
|
};
|
|
};
|
|
- return {plus, minus, times, divide, round}
|
|
|
|
-});
|
|
|
|
|
|
+ return {add, sub, mul, div, round}
|
|
|
|
+})();
|