#18757 [Opn->Bgs]: Error making a simple math operation}

From: Date: Mon, 30 Sep 2002 03:21:25 +0000
Subject: #18757 [Opn->Bgs]: Error making a simple math operation}
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-20736@lists.php.net to get a copy of this message
ID: 18757 Updated by: iliaa@php.net Reported By: r_saki@yahoo.com -Status: Open +Status: Bogus Bug Type: Math related Operating System: Unix PHP Version: 4CVS-2002-08-06 New Comment: Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. Could you please provide the smallest possible example showing this problem as well as the output that you get. Previous Comments: ------------------------------------------------------------------------ [2002-08-06 13:02:44] r_saki@yahoo.com 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 ------------------------------------------------------------------------ [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

« previous php.bugs (#20736) next »