Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Topic for discussion: Unifying the measure and decimal proposals #952

Open
jessealama opened this issue Jan 16, 2025 · 1 comment
Open
Labels
c: numbers Component: numbers, currency, units Proposal Larger change requiring a proposal s: in progress Status: the issue has an active proposal

Comments

@jessealama
Copy link

In plenary we've discussed the decimal proposal a number of times, iterating on the design and data model in ways big and small, for some time. More recently, my colleague Ben Allen has been working on the measure proposal.

Although these two proposals differ might appear, at first glance, to be independent, they actually overlap a fair amount in their motivation and use cases. Measure provides, namely, a solution to the problem of storing precision next to a number, which is precisely (ha!) one of the main motivations for a data model for decimal in which decimal numbers store their own precision. That's not the only thing measure is about (another issue is attaching a unit to a numeric value). But I think it makes sense to unify these two proposals.

I'd be interested in presenting the status quo of these discussions at the monthly 402 call. Further discussion can happen in a dedicated issue in the decimal repo.

@ryzokuken ryzokuken moved this to Priority Issues in ECMA-402 Meeting Topics Jan 16, 2025
@sffc sffc added s: in progress Status: the issue has an active proposal Proposal Larger change requiring a proposal c: numbers Component: numbers, currency, units labels Jan 17, 2025
@sffc
Copy link
Contributor

sffc commented Jan 17, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: numbers Component: numbers, currency, units Proposal Larger change requiring a proposal s: in progress Status: the issue has an active proposal
Projects
Status: Priority Issues
Development

No branches or pull requests

2 participants