mirror of
git://develop.git.wordpress.org/
synced 2025-02-24 08:33:35 +01:00
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:
parent
c9b47e9d92
commit
cab3a242f7
@ -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
|
||||
*
|
||||
* @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.
|
||||
* @return string Converted number in string format.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user