mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00: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:
@@ -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 ) {
|
||||
|
||||
Reference in New Issue
Block a user