Measures: an official library of formats by type (#585)
- github
- github/openchronology/timeline-app
- commit
- main
- github/athanclark
Measures are written and read by an official library of formats, the counterpart of the time displays, each serving one type; plugins never provide formats: - fractions (mpq): floating point (significant digits), scientific notation, engineering notation (exponents in multiples of three) and improper fractions (the default); - whole numbers (mpz): fixed decimal values, such as currency (0 places by default). Every format keeps its scale, prefix and unit, prints and parses exactly and refuses what it would round. A declaration whose format doesn't serve its type is refused. The modes `exact`, `si` and the type-free `fixed` and `decimal` give way to this set (none was released). The Measures dialog offers each type's formats, switching with the type. Docs, OpenAPI, unit and browser tests. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B https://github.com/circagraph/timeline-app/commit/56f04196e96b10a58d3eb8776a12cac654ff9570
Related
Open Measures: an official library of formats by type (#585) in the timeline