php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5754 when i display the numeric type value for 23.12 ,php display 23.1199999999999
Submitted: 2000-07-24 05:19 UTC Modified: 2000-07-24 08:52 UTC
From: chengye at mail dot eq-sd dot ac dot cn Assigned:
Status: Closed Package: Sybase (dblib) related
PHP Version: 4.0.0 OS: linux RH 6.2
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: chengye at mail dot eq-sd dot ac dot cn
New email:
PHP Version: OS:

 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-24 08:52 UTC] stas@php.net
Well, basically it's the same. You can set precision and/or use frmatted print if you need less significant digits.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 18:01:29 2024 UTC