Locale-aware Number and Currency Condensing
Creating Locale-aware Number and Currency Condensing - Shopify

Creating Locale-aware Number and Currency Condensing - Shopify

10/24/2018

What this post added

This post details the development of a new library, `@shopify/condense-number`, to handle locale-aware number and currency condensing. It describes the problem of long numbers in graphs for multilingual Shopify admin interfaces, the lack of suitable existing JavaScript solutions, and the decision to leverage Unicode CLDR and Intl.js data. The post highlights the use of Hack Days for development and the subsequent open-sourcing of the library.

Read the original post ↗