All notable changes to CalcCraft will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Configurable decimal separator (e.g., '.' or ',')
- Configurable grouping separator (e.g., ',', '.', or ' ')
- CHANGELOG.md
- Escape character for literal equals signs: Use
'=prefix to display text starting with=without triggering formula evaluation. The apostrophe will be hidden in the display but preserved when editing.- Example:
'=valuedisplays as=valuebut is not treated as a formula
- Example:
- Label Display: Refactored table labels to use CSS pseudo-elements instead of adding physical rows and columns to the DOM
- Labels now displayed via
::beforeand::afterCSS pseudo-elements to avoid row/column switch when selecting a row or a column
- Labels now displayed via
- BUG fix: removing the "'" from the beginning of formula was not returning the cell to a formula
- Cell sizing in Live Preview: Cells to adapt their size to the computed value display instead of the underlying formula text. Fixes issue where long formulas like =2^64 that would not fit in the cell, or long formulas that compute to short values unnecessarily wide when the result was just "42".
- isNumeric() fixed
- Display trailing zeros when value exceeds display precision ( e.g. for a precision of 3: 3.00005 -> 3.000 but 3.0000 -> 3)
- format() takex precedence over the options (e.g. precision is set to 3 in options, but we have =format(1/3,5) -> 0.33333
- scientific(value, precision) for exponential notation (e.g. 1.23e+9)
- sum() now filters empty cells to work with units (e.g. sum(1 cm, 3 cm, empty))