Sometimes it can be difficult to fit large numbers into your site or app's layout, especially if you have to display several of them together. As a result, a lot of modern sites and apps use the same format to display large numbers in a compact way. For example,
Sometimes it can be difficult to fit large numbers into your site or app's
layout, especially if you have to display several of them together.
As a result, a lot of modern sites and apps use the same format to display large
numbers in a compact way. For example, displaying 123,000 as 123K.
freeCodeCamp's and Instagram profiles using compact number format.You
can do this by writing a custom format function, using a third-party library,
or, best of all, using a built-in JavaScript API.
Displaying Compact Format Numbers Using Intl Javascript API
How to Format Currency in ES6
Florin Lungu on LinkedIn: How to Format Compact Numbers with the
Formatting Compact Numbers with JavaScript
Simple number/currency format - Queries and Resources - Retool Forum
What is the JavaScript Internationalization API (I18n)? — SitePoint
freeCodeCamp on LinkedIn: How to Format Compact Numbers with the
Question Types - Q
Sources tool overview - Microsoft Edge Developer documentation
Convert long numbers to short and compact form in JavaScript — Amit Merchant — A blog on PHP, JavaScript, and more