Skip to content

Allow asNumber() to read numeric formula caches - #638

Open
Boulea7 wants to merge 2 commits into
dhatim:masterfrom
Boulea7:ln-cx/fastexcel-564-numeric-formula-cache
Open

Boulea7 wants to merge 2 commits into
dhatim:masterfrom
Boulea7:ln-cx/fastexcel-564-numeric-formula-cache

Conversation

@Boulea7

@Boulea7 Boulea7 commented Oct 6, 2026

Copy link
Copy Markdown

Cell.asNumber() and Row.getCellAsNumber() can now read a formula cell's stored numeric value while preserving its formula type and text. This does not evaluate formulas.

In lenient mode, failed value parsing clears any earlier parsed value, so malformed cells cannot expose a residual numeric cache.

Refs #564.

Validation: numeric-cache regressions reproduce the failures on unmodified master; mvn -o clean verify jacoco:report passes on Java 11 (220 tests).

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant