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

Filters the number formatted based on the locale.

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.

Source

File: wp-includes/functions.php.

View all references

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

Leave a Reply

Your email address will not be published. Required fields are marked *