php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15314 php can't handle values of type double correcty
Submitted: 2002-01-31 08:43 UTC Modified: 2002-04-13 14:46 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: tchemaly at ing dot sun dot ac dot za Assigned:
Status: Closed Package: InterBase related
PHP Version: 4.1.1 OS: win32
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: tchemaly at ing dot sun dot ac dot za
New email:
PHP Version: OS:

 

 [2002-01-31 08:43 UTC] tchemaly at ing dot sun dot ac dot za
PHP interbase can't seem to handle fieldtypes declared as type numeric(x,y). It always returns any value stored in these fields as xyz.y Thus if the value in the interbase database is 4.6 and the fieldtype was declared as numeric(15,4) php returns 4.4 instead of 4.6. It seems that it is appending the precision value instead of the part after the decimal separator.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-13 14:46 UTC] daniela@php.net
This bug it's been fixed.
Please try the php-4.2.0RC3 from http://www.php.net/~derick/ 

If you are still able to reproduce the bug, please change the PHP
version on this bug report to the version you tested and change 
the status back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 11:01:30 2024 UTC