-
Notifications
You must be signed in to change notification settings - Fork 12
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
[Support] Add Num.abbreviate
funciton
#285
Comments
Simpler way: 😅 Intl.NumberFormat('en-US', {
notation: 'compact',
maximumFractionDigits: 2
}).format(1_250_000); |
OK I'm way behind on new JS stuff lol |
Nah, this is too old. It's supported in IE too 🤣 |
Oh no... Wait, please tell me it was supported from IE 11. Because the old means IE 6 for me 😏 |
Yeah, IE 11 😅 (I wasn't even born when IE 6 was launched 😅) |
I'm not sure if I should be happy about it 🤔 |
Be happy! You know elegant design because you’ve design constraints from IE6 nightmares 😂 |
We use this internally in GB's app and good have it in sefirot. We should add test and such. This method do things like:
The text was updated successfully, but these errors were encountered: