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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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: Thu Mar 28 21:01:27 2024 UTC