ID:               39830
 Updated by:       [EMAIL PROTECTED]
 Reported By:      ipa at beta dot lt
-Status:           Open
+Status:           Feedback
 Bug Type:         Variables related
 Operating System: Linux 2.6.10
 PHP Version:      4.4.4
 New Comment:

Please try using this CVS snapshot:

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

Cannot reproduce.


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

[2006-12-14 09:58:01] ipa at beta dot lt

Description:
------------
Strange behaviour on float variable output after using setlocale()
function.

Reproduce code:
---------------
<?php 

setlocale(LC_NUMERIC, 'lt_LT');

$xxx = 19.48;
echo ($xxx) . "\n"; // Output float from variable
echo (19.48) . "\n"; // Output float directly
?>

Expected result:
----------------
19,48
19,48

Actual result:
--------------
19,48
19.48


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


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

Reply via email to