It seems like it's the Windows server that's due to host the site that's causing all of my efforts to render USD results, however much I try to use setlocale(LC_MONETARY, 'en_GB');
i suspect it's to do with LC_ALL but i don't know many people that develop on windows.
is the format defined in the windows control panel, for example? and if so are you expressly using setlocale to reflect the same name as used in the CP?
personally I'd go for number_format() and add in the currency symbol by hand
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.