Latest solutions
Audiophile w/ React, TypeScript, Tailwind, Framer Motion
#framer-motion#react#tailwind-css#typescript#redux-toolkitSubmitted about 1 year agoKanban Task Management w/ React + Typescript + Tailwind
#react#react-router#typescript#tailwind-cssSubmitted over 1 year agoRest Countries with React, TypeScript & Tailwind
#react#react-router#typescript#tailwind-cssSubmitted over 1 year ago
Latest comments
- P@kob96Submitted almost 2 years ago@SpecticallPosted almost 2 years ago
Hi, I noticed that whenever I tried typing more than 3 numbers behind a comma, it wouldn't let me. I think this behavior is caused by the toLocaleString method, you could probably take a look into that.
I also had a similar problem, my solution was to create my own number formatting function by using a loop, then unshift each of the number into an array while adding a "." every 3 iteration.
Hope this helps!
PS : You can check the code for the number formatting on my version to this project, its at the index.js file, line 329.
Marked as helpful0