#18757 [Fbk->Opn]: Error making a simple math operation}
| From: | r_saki at yahoo dot com | Date: | Tue, 06 Aug 2002 17:02:45 +0000 |
| Subject: | #18757 [Fbk->Opn]: Error making a simple math operation} | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-16081@lists.php.net to get a copy of this message | ||
ID: 18757
User updated by: r_saki@yahoo.com
Reported By: r_saki@yahoo.com
-Status: Feedback
+Status: Open
Bug Type: Math related
Operating System: Unix
PHP Version: 4CVS-2002-08-06
New Comment:
I read your comment and I try to make it and the result it´s the same,
so what can i do to try to globaly change the locale in my webserver
startscript? ´cause I don´t configure PHP inicially.
thank you for all and my best regards
Previous Comments:
------------------------------------------------------------------------
[2002-08-06 12:30:31] hholzgra@php.net
sounds like the locale problem again
for now please try to add
setlocale(LC_NUMERIC, "C");
at the top of your scripts
or try to globaly change the locale
in your webserver startscript
------------------------------------------------------------------------
[2002-08-06 11:47:29] r_saki@yahoo.com
I have a Raq4 Cobalt server, so I did a page of mathematical code, when
the code make a simple operation, it lose the decimals of a variable,
so what can I do to solve that problem?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18757&edit=1