doway-coms 1.4.2 → 1.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/packages/utils/common.js +2 -2
package/package.json
CHANGED
package/packages/utils/common.js
CHANGED
|
@@ -503,10 +503,10 @@ export function numberDigitsRound(rowInfo, colInfo) {
|
|
|
503
503
|
// 向上、向下、四舍五入
|
|
504
504
|
switch (rowInfo[colInfo.round]) {
|
|
505
505
|
case 'ceiling':
|
|
506
|
-
XEUtils.ceil(rowInfo[colInfo.number], rowInfo[colInfo.digits])
|
|
506
|
+
rowInfo[colInfo.number] = XEUtils.ceil(rowInfo[colInfo.number], rowInfo[colInfo.digits])
|
|
507
507
|
break;
|
|
508
508
|
case 'floor':
|
|
509
|
-
XEUtils.floor(rowInfo[colInfo.number], rowInfo[colInfo.digits])
|
|
509
|
+
rowInfo[colInfo.number] = XEUtils.floor(rowInfo[colInfo.number], rowInfo[colInfo.digits])
|
|
510
510
|
break;
|
|
511
511
|
case 'round':
|
|
512
512
|
rowInfo[colInfo.number] = rowInfo[colInfo.number].toFixed(rowInfo[colInfo.digits])
|