rapid-spreadjs 1.0.56 → 1.0.57

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/dist/index.cjs.js CHANGED
@@ -19161,7 +19161,7 @@ const FormulaUtils = {
19161
19161
  if (retData.allCellVals.length < 2) {
19162
19162
  return '';
19163
19163
  }
19164
- const a = retData.allCellVals[0], b = retData.allCellVals[0];
19164
+ const a = retData.allCellVals[0], b = retData.allCellVals[1];
19165
19165
  // 计算商 d = a / b
19166
19166
  const d = rapidUtils.preciseCalc(a, b, 'div');
19167
19167
  // 计算绝对值的倒数 |b/a|,并四舍五入取整