|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2019-05-23 14:25 UTC] requinix@php.net
-Summary: Wrong currency format for nl_BE
+Summary: Wrong currency format for nl_BE with money_format
-Status: Open
+Status: Not a bug
-Package: Unknown/Other Function
+Package: Strings related
[2019-05-23 14:25 UTC] requinix@php.net
[2019-05-23 14:45 UTC] sjon@php.net
[2019-05-23 15:04 UTC] requinix@php.net
[2019-05-23 15:07 UTC] sjon@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 13:00:01 2025 UTC |
Description: ------------ When I use nl_BE locale I get the wrong format for negative values. -1234.56 should be € -1 234,56 money_format gives this: € 1 234,56- I'm sorry if anything is filled in wrong, first time here. thank you. Test script: --------------- setlocale(LC_ALL, 'nl_BE.UTF-8') echo money_format('%.2n','-1234.56'); Expected result: ---------------- € -1 234,56 Actual result: -------------- € 1 234,56-