Re: The decimal separator is changed when PHP-GTK is loaded
| From: | Valéry Amiot | Date: | Sat, 30 Apr 2005 23:16:25 +0000 |
| Subject: | Re: The decimal separator is changed when PHP-GTK is loaded | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-5812@lists.php.net to get a copy of this message | ||
Thanks Malk0, the setlocale() function was the answer !
I dit it a bit differently, by adding the following line just after loading PHP-GTK :
setlocale(LC_NUMERIC, 'POSIX');
Now, everything works just fine. Thanks again.
Malk0 a écrit :
I'd the same trouble in my apps and resolved it by doing this: setlocale(LC_NUMERIC,'C');