Expand description
d1’s strict readings of written values (parsing.py): a read number’s
magnitude (currency and percent set apart, scale words applied, the
decimal mark settled from evidence) and a read date as ISO — no
arithmetic, conversion or invented date components.
Functions§
- parse_
date - ISO value and an unresolved-ambiguity flag (
parse_date). - parse_
number - The written magnitude (percent points included): currency and percent set apart, a scale word applied; null when the writing does not settle one value.
- written_
unit - Only an explicitly written percent or currency marker.