Decimal separator
-
Hi again @geminilabs, I would like to know if there is a way to embed setlocale(LC_ALL, ‘fr_FR’) somewhere, For makes the decimals separators are in french, (comma vs dot). I tried :
add_filter('site-reviews/summary/value/rating', function ($value, $tag) { setlocale(LC_ALL, 'fr_FR'); return sprintf('%s', $value, $tag->review->rating); }, 10, 2);
But without success ! ??
Can you maybe help me? Thanks
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Decimal separator’ is closed to new replies.