php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1290 can't display integer >=100 correctly
Submitted: 1999-04-05 05:16 UTC Modified: 1999-05-15 12:18 UTC
From: chu_zhurong at 263 dot net Assigned:
Status: Closed Package: MSSQL related
PHP Version: 3.0.6 OS: NT4 & Win 95/98
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
40 + 44 = ?
Subscribe to this entry?

 
 [1999-04-05 05:16 UTC] chu_zhurong at 263 dot net
when fetch integer data from data result and
display it, it will only show two number, such
as 100 to 10, 101 to 10, 200 to 20, 3129 as 31, etc.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-05-15 12:18 UTC] fmk at cvs dot php dot net
This problem has been solved in the current cvs tree. It is only a broblem for small and tiny integers where the buffe assigned for the output only was the size of the column in the databse and not the actual number of digits in the result.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Dec 07 14:05:52 2022 UTC