Ticket #17299: 17299.patch
File 17299.patch, 674 bytes (added by , 14 years ago) |
---|
-
wp-includes/functions.php
152 152 */ 153 153 function number_format_i18n( $number, $decimals = 0 ) { 154 154 global $wp_locale; 155 $formatted = number_format( $number, absint( $decimals ), $wp_locale->number_format['decimal_point'], $wp_locale->number_format['thousands_sep'] );155 $formatted = number_format( (float) $number, absint( $decimals ), $wp_locale->number_format['decimal_point'], $wp_locale->number_format['thousands_sep'] ); 156 156 return apply_filters( 'number_format_i18n', $formatted ); 157 157 } 158 158