[wp-trac] [WordPress Trac] #10555: number_format_i18n function doesn't check if the number is float or not before doing the formating

WordPress Trac wp-trac at lists.automattic.com
Sat Dec 26 18:59:28 UTC 2009


#10555: number_format_i18n function doesn't check if the number is float or not
before doing the formating
--------------------------+-------------------------------------------------
 Reporter:  chombium      |       Owner:  nbachiyski                   
     Type:  defect (bug)  |      Status:  new                          
 Priority:  normal        |   Milestone:  3.0                          
Component:  i18n          |     Version:  2.9                          
 Severity:  normal        |    Keywords:  has-patch needs-testing early
--------------------------+-------------------------------------------------

Comment(by hakre):

 Replying to [comment:6 westi]:
 > Replying to [comment:5 hakre]:
 > > I'm a bit confused. We have a pretty well report here, we have a
 parameter here "number_format_decimals" which actually is configured to
 values other than 0.
 > >
 >
 > The point is that I think this was made translatable by accident.
 Makes sense.

 > I am going to take this discussion to the wp-polyglots list to see if
 there is a need there for this to remain translatable.
 Just update this ticket when you have feedback.

 ----

 If anyone can reference, please do name a language / culture where it is
 common to have 3 places after the floating point. Can someone please
 confirm this for the Macedonian language as suggested by the reporter?
 Please add hyperlinks to that info.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10555#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list