apply_filters( 'number_format_i18n', string $formatted, float $number, int $decimals )

Filters the number formatted based on the locale.


Description Description


Parameters Parameters

$formatted

(string) Converted number in string format.

$number

(float) The number to convert based on locale.

$decimals

(int) Precision of the number of decimal places.


Top ↑

Source Source

File: wp-includes/functions.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
4.9.0 The $number and $decimals parameters were added.
2.8.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.