ID: 49254 Updated by: [email protected] Reported By: stakadush at yahoo dot com -Status: Open +Status: Bogus Bug Type: Math related Operating System: Ubuntu 9.04 & OS X 10.5.7 PHP Version: 5.3.0 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Previous Comments: ------------------------------------------------------------------------ [2009-08-14 14:49:35] stakadush at yahoo dot com Description: ------------ setlocalte affects the return of math functions, making them unusable. in this example the dot is being replaced with the italian comma notation. Reproduce code: --------------- setlocale(LC_ALL, 'it_IT.UTF-8'); echo abs(-5.5); Expected result: ---------------- 5.5 Actual result: -------------- 5,5 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=49254&edit=1
