I am trying to show large numbers on the html input with the help of some regex. As there is a limitation of javascript numbers of 17 digits, I cannot use the Number objects for showing the numbers whose precision is greater than 17. I have gone through the below SO reference
How can I format numbers as money in JavaScript?
but it seems to show unexpected values for numbers with precision more than 17 digits.
If someone has any idea of similar implementation, do let me know.