|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #13670 floating point number display
Submitted: 2001-10-15 06:57 UTC Modified: 2010-12-31 22:50 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: M dot Izydorski at rubikon dot pl Assigned:
Status: Not a bug Package: Math related
PHP Version: 4.0.6 OS: linux
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.
Block user comment
Status: Assign to:
Bug Type:
From: M dot Izydorski at rubikon dot pl
New email:
PHP Version: OS:


 [2001-10-15 06:57 UTC] M dot Izydorski at rubikon dot pl
I want to get a scientific string representation of double/float type. There aren't any possibility acording to sprintf documentation. I tried 'e' char, It a bit works, but not as in C. 'E' and 'g' doesn't works.

Could it be made - I guess it isn't much work.

Best regards from Poland


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-12-31 22:50 UTC]
-Status: Open +Status: Bogus -Package: Feature/Change Request +Package: *General Issues
 [2010-12-31 22:50 UTC]
Upgrade + set precision in php.ini to higher value.
 [2010-12-31 22:50 UTC]
-Package: *General Issues +Package: Math related
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Oct 28 09:01:28 2020 UTC