From cab3a242f7abf24d3a659590eb068f9e14859950 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 23 Feb 2016 18:43:47 +0000 Subject: [PATCH] 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 --- src/wp-includes/functions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 ) {