#18757 [Opn->Fbk]: Error making a simple math operation}
| From: | hholzgra@php.net | Date: | Tue, 06 Aug 2002 16:30:31 +0000 |
| Subject: | #18757 [Opn->Fbk]: Error making a simple math operation} | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-16077@lists.php.net to get a copy of this message | ||
ID: 18757
Updated by: hholzgra@php.net
Reported By: r_saki@yahoo.com
-Status: Open
+Status: Feedback
Bug Type: Math related
Operating System: Unix
PHP Version: 4CVS-2002-08-06
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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