Skip to content
Advertisement

What is the JS equivalent to the PHP function number_format?

PHP Function:

JavaScript

Can anybody suggest to me the equivalent functionality in jQuery/JavaScript?

Advertisement

Answer

is this what you’d like to get?

JavaScript

voilà.

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement