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

Extend number format to use string instead of number #935

Open
xgenvn opened this issue Dec 16, 2022 · 4 comments
Open

Extend number format to use string instead of number #935

xgenvn opened this issue Dec 16, 2022 · 4 comments

Comments

@xgenvn
Copy link

xgenvn commented Dec 16, 2022

Due to the limitation of the javascript number format. Even with Intl API we still couldn't format a very large number, eg: feature: "integers out of (1e21, 1e-7)"
Can I extend or add a plugin to use decimal.js (or an alternative) as a numeric wrapper?

@rxaviers
Copy link
Member

rxaviers commented Dec 16, 2022

A plugin using BigInt (or its polyfil) would be welcome. Thanks!

PS: Either a plugin or a change that has little impact on footprint.

@xgenvn
Copy link
Author

xgenvn commented Dec 18, 2022

@rxaviers Thanks for the response.
Is there any plan for keeping the project alive so far, at least moving away from bower and grunt which are not considered mainstream anymore? I'm asking if the work for the external number formatting library can be put into the new version instead.

@rxaviers
Copy link
Member

A library modernization is definitely welcome too. Thank you!

@pau1tuck
Copy link

Is this still of interest @rxaviers?
I use this excellent library very frequently for my work. I'd be happy to contribute to its modernization.

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

No branches or pull requests

3 participants