Skip to content
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

- Fixed the MAXPOOL and MEDIANPOOL functions throwing an uncaught `TypeError` instead of returning the `#VALUE!` error when the range dimensions are not a whole multiple of the window size and the stride. [#1718](https://github.com/handsontable/hyperformula/pull/1718)
- Fixed the `MOD` function returning a remainder with the sign of the dividend instead of the sign of the divisor, which made the results differ from Excel and Google Sheets for arguments with opposite signs (e.g. `=MOD(-3, 12)` now returns `9` instead of `-3`). [#1747](https://github.com/handsontable/hyperformula/issues/1747)
- Fixed `Exporter` ignoring the `evaluateNullToZero` config option: with the flag on, `getCellValue`, `getSheetValues`, `getAllSheetsValues`, and `ExportedCellChange` now return `0` for empty cells instead of `null`, matching the interpreter's own empty-to-zero coercion. Code that relied on `null` from `getCellValue` to tell a truly empty cell apart from a computed zero under this flag must use `ISBLANK` instead. [#1738](https://github.com/handsontable/hyperformula/pull/1738)

## [3.4.0] - 2026-08-10

Expand Down
2 changes: 1 addition & 1 deletion src/Exporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export class Exporter implements ChangeExporter<ExportedChange> {
} else if (value instanceof CellError) {
return this.detailedError(value)
} else if (value === EmptyValue) {
return null
return this.config.evaluateNullToZero ? 0 : null
} else {
return getRawValue(value)
}
Expand Down
Loading