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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
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

Patches

Pull Requests

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: Fri Dec 27 00:01:30 2024 UTC