#27879 [Fbk->NoF]: wrong MONEY-Field retreiving from table
| From: | sniper@php.net | Date: | Mon, 12 Apr 2004 21:55:23 +0000 |
| Subject: | #27879 [Fbk->NoF]: wrong MONEY-Field retreiving from table | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-57972@lists.php.net to get a copy of this message | ||
ID: 27879
Updated by: sniper@php.net
Reported By: 4e at kengu dot ru
-Status: Feedback
+Status: No Feedback
Bug Type: MSSQL related
Operating System: Win2000
PHP Version: 4.3.5
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2004-04-06 03:06:44] derick@php.net
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
------------------------------------------------------------------------
[2004-04-06 02:49:47] 4e at kengu dot ru
Description:
------------
"Amount" - MONEY table field in MSSQL2000 server DB
After installing 4.3.5 have wrong value
correct by restore php_mssql.dll from 4.3.4
Reproduce code:
---------------
$Amount = "Amount";
SumSTR = number_format($Record->$Account, 2, ".", ",");
echo SumSTR;
...
or simply
echo $Record->$Account;
...
Expected result:
----------------
150,000.00
Actual result:
--------------
0.00
or some symbols
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27879&edit=1