Ask a Question
Advertise on boostr.in
Organizational Research By
Surprising Reserch Topic
php locale aware number format using -'php,internationalization'
php locale aware number format ¬†using -'php,internationalization'
I want to format the number 3253454 for my website visitors.
If I use the inbuilt number_format function, I get: 3,253,454 which is great for UK and USA, however most other countries use 3.253.454
I have many international visitors.
Can anyone give me a pointer to the best practice here?
Ideally I wish to get the browser's locale and format the number accordingly. Is this even possible in PHP?
Sep 8, 2015
to add a comment.
Related Hot Questions
Government Jobs Opening