[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
Tue Feb 23 15:15:24 UTC 2010
#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 nbachiyski):
Replying to [comment:9 scribu]:
> Since we're on the topic, wouldn't it be nice to rename the function to
`number_i18n`, to be consistent with `date_i18n` ?
It is consistent. The PHP functions we are replicating are
{{{number_format()}}} and {{{date()}}}.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10555#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list