number_format_i18n
number_format_i18n ( $number, $decimals = 0 )
Parameters:- (float) number The number to convert based on locale.
- (int) decimals Optional. Precision of the number of decimal places. Default 0.
Returns:- (string) Converted number in string format.
Defined at: - Introduced in WordPress: 2.3.0
- Deprecated in WordPress: —
Description
Converts float number to format based on the locale.