php.net |  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
Votes:1
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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
21 - 2 = ?
Subscribe to this entry?

 
 [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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-12-31 22:50 UTC] jani@php.net
-Status: Open +Status: Bogus -Package: Feature/Change Request +Package: *General Issues
 [2010-12-31 22:50 UTC] jani@php.net
Upgrade + set precision in php.ini to higher value.
 [2010-12-31 22:50 UTC] jani@php.net
-Package: *General Issues +Package: Math related
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 00:01:27 2024 UTC