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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: chengye at mail dot eq-sd dot ac dot cn
New email:
PHP Version: OS:

 

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: Mon Sep 20 03:03:36 2021 UTC