A WordPress-centric search engine for devs and theme authors



number_format_i18n ›

Since4.9.0
Deprecatedn/a
apply_filters( 'number_format_i18n', $formatted, $number, $decimals )
Parameters: (3)
  • (string) $formatted Converted number in string format.
    Required: Yes
  • (float) $number The number to convert based on locale.
    Required: Yes
  • (int) $decimals Precision of the number of decimal places.
    Required: Yes
Defined at:
Codex:

Filters the number formatted based on the locale.





Source

return apply_filters( 'number_format_i18n', $formatted, $number, $decimals );