Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

mlazuardy's avatar

Separated number with comma [laravel,javascript] inside Input form

So by default when I or We create an input with type number, and start typing numbers the input is'nt separate the number ( if number > 3 digit ) , for example if we type 3 million it will 3000000, so what i want inside the input field , the 3 million will seperated with comma like 3,000,000 or maybe dot .

How to do that? thank you and sorry bad english

0 likes
2 replies

Please or to participate in this conversation.