No decimals on apache+win2k (works on linux)

From: Date: Thu, 22 May 2003 15:40:36 +0000
Subject: No decimals on apache+win2k (works on linux)
Groups: php.general 
Request: Send a blank email to php-general+get-148566@lists.php.net to get a copy of this message
Hi everyone, I have a piece of code that working with numbers and doing some calculations, which may result in integers or float numbers. When I execute the code on my test server (Red Hat 8.0, Apache 2.0, PHP 4.2.3), results are always corrects. But when I run it on my production machine (Win 2K, Apache 1.3.23, PHP 4.2.3) I only get the whole part of the number without the decimal part, all numbers are ",00". Is there any bug with setlocale ( my settings are for spanish), with Windows or am I missing anything else? Any help would be greatly appreciated. Thx in advance.

« previous php.general (#148566) next »