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

[Numeric Text Box] Change 'value' data type to hold big decimal numbers #3010

Closed
krzysztof-zych opened this issue Jul 22, 2020 · 4 comments
Closed

Comments

@krzysztof-zych
Copy link

In the current implementation of NumericTextBoxComponent, value field that's specifying the value of NumericTextBox has a Number data type.
In our applications, we need to have bigger precision than that data type ensure (e.g. for currency exchange rates) and have to ability to localize (so formatting and parsing numbers) to different languages.
I know that you rejected similar issue #704 some time ago, but maybe after few years later, you changed your mind and now you can provide your implementation of new or changed component that can store very big numbers (e.g using https://github.com/MikeMcl/decimal.js under the hood or suchlike).

Thanks.

@tsvetomir
Copy link
Member

Thank you for the suggestion. Can you please, add your vote & comments to the existing feature request for BigInt?

It might make sense to merge both requests, provided we have an option to convert from decimal to BigInt.

There's also a TC39 proposal for Decimal/BigDecimal. Ideally, we should use a a polyfill based that could eventually be removed. See MikeMcl/bignumber.js#256

@krzysztof-zych
Copy link
Author

Hi @tsvetomir
Could you give any estimation of that issue, please? Are you going to support big numbers in your controls in the near future?

Thanks

@Raisolution
Copy link

Hi @krzysztof-zych ,

at the moment the implementation of this enhancement has not been added to our short term development plans. We will keep tracking the demand for it in the related feedback portal item.

@Raisolution
Copy link

Closing this issue as demand is being tracked in the related Feedback portal item.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants