Docs: Correct $number type in number_format_i18n().

Props salcode.
Fixes #35893.

git-svn-id: https://develop.svn.wordpress.org/trunk@36644 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2016-02-23 18:43:47 +00:00
parent c9b47e9d92
commit cab3a242f7

View File

@ -205,13 +205,13 @@ function wp_maybe_decline_date( $date ) {
} }
/** /**
* Convert integer number to format based on the locale. * Convert float number to format based on the locale.
* *
* @since 2.3.0 * @since 2.3.0
* *
* @global WP_Locale $wp_locale * @global WP_Locale $wp_locale
* *
* @param int $number The number to convert based on locale. * @param float $number The number to convert based on locale.
* @param int $decimals Optional. Precision of the number of decimal places. Default 0. * @param int $decimals Optional. Precision of the number of decimal places. Default 0.
* @return string Converted number in string format. * @return string Converted number in string format.
*/ */