by laravel or JS? https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/split
in java script and http://php.net/manual/en/function.str-split.php
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
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
Please or to participate in this conversation.