WordPress开发者和主题制作者的搜索引擎



number_format_i18n ›

Since4.9.0
已弃用n/a
apply_filters( 'number_format_i18n', $formatted, $number, $decimals )
参数: (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
定义在:
文档:

Filters the number formatted based on the locale.





源码

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