tc39/proposal-decimal
View on GitHub ↗ ★ 639 HTML
Built-in exact decimal numbers for JavaScript
12 mentions on Hacker News by 10 people: 2 stories, 10 comments · first 2020-05-14 · latest 2025-04-16
20082026
-
…about adding BigInt (not to mention recently dropping the record/tuple proposal over `===`). https://github.com/tc39/proposal-decimal
comment by hajile · 2025-04-16 · in What I don't like in JavaScript -
…decimals, to avoid things like `parseInt(0.00000051) === 5`? There is a draft proposal for this: https://github.com/tc39/proposal-decimal Additionally, BigInt has been available for years: https://developer.mozilla.org/en-US/docs/Web/JavaSc…
comment by creatonez · 2024-08-24 · in JavaScript dates are about to be fixed -
…yourself in a library. Regardless, there is an active proposal to add a 128-bit decimal type to JS: https://github.com/tc39/proposal-decimal
comment by paavohtl · 2024-06-26 · in The many faces of undefined in JavaScript -
…are currently sponsoring Igalia to work on adding native Decimal number support to JavaScript. https://github.com/tc39/proposal-decimal This is an active proposal and was last discussed in the September 2023 meeting.
comment by robpalmer · 2023-10-24 · in Bloomberg invests in Node.js – Shouldn't you? -
…of C# or Python via Javascript, thus not having to wait for the TC39 spec / implementation? [1] [1] https://github.com/tc39/proposal-decimal
comment by dlojudice · 2022-12-02 · in Wasmer takes WebAssembly libraries mainstream with WAI -
…for instance, the decimal proposal is still at stage 1 [1]. and no, BigInt does not solve that. [1] https://github.com/tc39/proposal-decimal
comment by dlojudice · 2022-07-17 · in Integer math in JavaScript -
There is a stage 1 proposal for BigDecimal. https://github.com/tc39/proposal-decimal
comment by runarberg · 2022-03-17 · in Deno Is Webby -
There's a proposal to add a decimal type to the spec, too. https://github.com/tc39/proposal-decimal Seems like it's a long ways away from being available, though.
comment by dvlsg · 2021-06-28 · in JavaScript Is Weird -
…for `Decimal` (base 10 floating point numbers with arbitrary precision) is currently at stage 1: https://github.com/tc39/proposal-decimal
comment by rauschma · 2021-06-10 · in Deep JavaScript -
…+ dynamic language + better math support = perfect environment for many applications out there [1] https://github.com/tc39/proposal-decimal
comment by dlojudice · 2021-06-02 · in Stage 3 Proposal: Array.prototype.at