From:             4e at kengu dot ru
Operating system: Win2000
PHP version:      4.3.5
PHP Bug Type:     MSSQL related
Bug description:  wrong MONEY-Field retreiving from table

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 bug report at http://bugs.php.net/?id=27879&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=27879&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=27879&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=27879&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=27879&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=27879&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=27879&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=27879&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=27879&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=27879&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=27879&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=27879&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=27879&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27879&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=27879&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=27879&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=27879&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27879&r=float

Reply via email to