• Resolved g9013507

    (@g9013507)


    Hi, is it possible to add commas to large numbers?
    Our company sell product in increments of 10,000 and above.

    The values shown are without commas like this -> 10000
    Whereas, we want this -> 10,000

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author taisho

    (@taisho)

    Hello,

    while it is a great idea, I’m afraid that I’m not going to implement it. Solutions on StackOverflow prove what I suspected that there is no clean solution. Thousand separator should be an HTML attribute for input type=”number”. It’s not the case, so we only have better or worse workarounds which may work well for one website but won’t be flexible and reliable enough.

    One relatively popular project exists on GitHub that addresses only the thousand separator handling and looking at the number of recently reported issues, I would rather focus on things that will be 100% correct from start instead of continuously patching one feature.

    Best regards,

    Ryszard

    Thread Starter g9013507

    (@g9013507)

    Thanks for your response.
    Is the GitHub project ‘easy number separator’?

    Thanks
    Ben

    Plugin Author taisho

    (@taisho)

    It’s this one, keep in mind that it doesn’t support type="number":

    https://github.com/autoNumeric/autoNumeric

    • This reply was modified 4 years, 10 months ago by taisho.
    • This reply was modified 4 years, 10 months ago by taisho.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add commas to large numbers’ is closed to new replies.