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

Patches

Add a Patch

Pull Requests

Add a Pull Request

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-2021 The PHP Group
All rights reserved.
Last updated: Sun Mar 07 16:01:23 2021 UTC