tc39 / tc39/proposal-decimal

Survey use cases for BigDecimal (or similar types)

Open
#3 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

documentation
Dominant language
HTML
Stars
638
Forks
20
PR merge metrics
No merged PRs in 30d

Description

tl;dr: Add your use case in a comment on this issue, even if you don't read the rest of the thread.

Would BigDecimal be useful for you? (Or, would Rational, Decimal128, or some other type be useful for you?) Why? Reports on this thread are encouraged to include:

  • Code samples (either current code or ideal/hoped-for code)
  • Context of how this shows up in an application and why you need it

Let's just collect use cases in this thread, and then we can consolidate/analyze it all in other issues.

Cases where you're not using a decimal type, and it's causing a bug (with code samples and context/motivation, and how a decimal type could fix it) are also welcome.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read the issue and its existing comment thread first to understand the use cases already reported. Add a concrete BigDecimal, Rational, Decimal128, or similar-type use case with code samples and application context; the contribution is complete when the need and the problem caused by current numeric types are clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
developer-experience
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.