[wp-trac] [WordPress Trac] #41505: Pass $decimals argument to number_format_i18n filter

WordPress Trac noreply at wordpress.org
Tue Aug 1 14:44:05 UTC 2017


#41505: Pass $decimals argument to number_format_i18n filter
-------------------------+--------------------------
 Reporter:  alpipego     |       Owner:  johnbillion
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  4.9
Component:  Formatting   |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:
-------------------------+--------------------------

Comment (by alpipego):

 > I added the raw `$number` parameter too, as the formatted number on its
 own isn't very useful if you're re-formatting the number.

 Ah that's great, didn't think about that. Thanks!

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41505#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list