Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004364 [Quercus] major always 01-26-11 13:33 01-26-11 13:33
Reporter bodhuin View Status public  
Assigned To
Priority normal Resolution open Platform
Status new   OS
Projection none   OS Version
ETA none Fixed in Version Product Version 4.0.14
  Product Build
Summary 0004364: sprintf method with "F" formatting should be non localized...
Description The php method sprintf with usage of formatting non locale - aware should be treated without Locale consideration.
F - the argument is treated as a float, and presented as a floating-point number (non-locale aware). Available since PHP 4.3.10 and PHP 5.0.3.

Locale::setDefault(Locale::ITALIAN);
echo sprintf('%.1F', 1.0)

should produced 1.0 instead of 1,0 result.
Steps To Reproduce
Additional Information
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
01-26-11 13:33 bodhuin New Issue
01-30-11 09:50 kdecherf Issue Monitored: kdecherf


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker