WordPress.org

Make WordPress Core

Changeset 36644


Ignore:
Timestamp:
02/23/2016 06:43:47 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Correct $number type in number_format_i18n().

Props salcode.
Fixes #35893.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/functions.php

    r36628 r36644  
    206206
    207207/**
    208  * Convert integer number to format based on the locale.
     208 * Convert float number to format based on the locale.
    209209 *
    210210 * @since 2.3.0
     
    212212 * @global WP_Locale $wp_locale
    213213 *
    214  * @param int $number   The number to convert based on locale.
    215  * @param int $decimals Optional. Precision of the number of decimal places. Default 0.
     214 * @param float $number   The number to convert based on locale.
     215 * @param int   $decimals Optional. Precision of the number of decimal places. Default 0.
    216216 * @return string Converted number in string format.
    217217 */
Note: See TracChangeset for help on using the changeset viewer.