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

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 12:01:31 2024 UTC