🇮🇹🇬🇧 Have you ever worked with i18n and numbers?
🤔 A few years ago I needed an angular directive to handle displaying an approximate decimal number for different locales.
At the same time I needed to edit the value by displaying the full number with all the decimal digits when the input had the focus (imagine having some kinf of excel sheet full of such cells).
💡 I couldn't find a ready-made component, so in the end, I created an open source project myself and I deployed an npm package to use in different projects.
📦 npm package
🎮 demo
💻 github
Top comments (0)