Answers for "how to pass js variable to number_format php"

3

js php number format

function numberWithSpaces(x) {
    return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, " ");
}
Posted by: Guest on October-08-2021

Code answers related to "how to pass js variable to number_format php"

Code answers related to "Javascript"

Browse Popular Code Answers by Language