diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php index 5111b84dc1..bcd56f748d 100644 --- a/src/wp-includes/functions.php +++ b/src/wp-includes/functions.php @@ -205,14 +205,14 @@ 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 * * @global WP_Locale $wp_locale * - * @param int $number The number to convert based on locale. - * @param int $decimals Optional. Precision of the number of decimal places. Default 0. + * @param float $number The number to convert based on locale. + * @param int $decimals Optional. Precision of the number of decimal places. Default 0. * @return string Converted number in string format. */ function number_format_i18n( $number, $decimals = 0 ) {