php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27879 wrong MONEY-Field retreiving from table
Submitted: 2004-04-06 02:49 UTC Modified: 2004-04-12 17:55 UTC
From: 4e at kengu dot ru Assigned:
Status: No Feedback Package: MSSQL related
PHP Version: 4.3.5 OS: Win2000
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: 4e at kengu dot ru
New email:
PHP Version: OS:

 

 [2004-04-06 02:49 UTC] 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-04-12 17:55 UTC] sniper@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 02 20:01:32 2024 UTC