I've set the locale using the setlocale() function to let's say "en_US".
now I'm trying to format the currency without a thousand separator like this:
$currency = number_format($value, 2, '.', '');
that works, but sometimes I have other currencies and I want the number_format to use the correct decimal separator according to the use locale.
Is there a way to get the current decimal separator somehow, based on the locale that has been set?