|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-07-23 14:13 UTC] hholzgra@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 21:00:02 2025 UTC |
Summary says it all... Some could argue it is a missing feature, not a bug, but it would make a life a bit easier for non-english developers, especially as this library is ofteh used for monetary stuff... <?php // first setlocale(): if ( (FALSE===setlocale("LC_ALL","sl_SI"))&& (FALSE===setlocale("LC_ALL","slovenian"))&& (FALSE===setlocale("LC_ALL","slovene"))&& (FALSE===setlocale("LC_ALL","slovenski"))&& (FALSE===setlocale("LC_ALL","sl")) ) echo "SETLOCALE() ERROR!!!<br>\n"; // this line outputs "0.00" instead of "0,80": echo bcadd("0,3","0,5",2); ?>