#34658 [Opn->Fbk]: Bad setting of float with non en locales

From: Date: Tue, 27 Sep 2005 13:15:13 +0000
Subject: #34658 [Opn->Fbk]: Bad setting of float with non en locales
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-85645@lists.php.net to get a copy of this message
 ID:               34658
 Updated by:       tony2001@php.net
 Reported By:      stanislav at pecha dot cz
-Status:           Open
+Status:           Feedback
 Bug Type:         SOAP related
 Operating System: Linux
 PHP Version:      5.0.5
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip




Previous Comments:
------------------------------------------------------------------------

[2005-09-27 15:05:10] stanislav at pecha dot cz

Description:
------------
I think it is a same bug as #31699 and #32442

WSDL sends x=985.25
setlocale(LC_NUMERIC, "en_US.UTF-8");
SOAPCLIENT returns x=985.25

but

WSDL sends x=985.25
setlocale(LC_NUMERIC, "cs_CZ.UTF-8"); 
//probably same with fr_FR too
SOAPCLIENT returns x=985.00

Expected result:
----------------
(float) 985.25

Actual result:
--------------
(float) 985.00


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=34658&edit=1


Thread (3 messages)

« previous php.bugs (#85645) next »