[wp-meta] [Making WordPress.org] #846: "downloads per day" decimal value

Making WordPress.org noreply at wordpress.org
Fri Feb 6 17:45:18 UTC 2015


#846: "downloads per day" decimal value
-------------------------+------------------------------
  Reporter:  shawnkhall  |      Owner:
      Type:  defect      |     Status:  new
  Priority:  low         |  Component:  Themes Directory
Resolution:              |   Keywords:
-------------------------+------------------------------

Comment (by obenland):

 Yes, as Dion mentioned, browsers render localized numbers pretty
 inconsistently unfortunately. Safari (including iOS) doesn't do anything
 with it at all, and just returns the integer for example.

 We could of course throw another JS library at it, but that feels a
 littler over the top.

 Browser support: https://developer.mozilla.org/en-
 US/docs/Web/JavaScript/Reference/Global_Objects/Number/toLocaleString#Browser_compatibility

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/846#comment:9>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list