From e0ac5d0e81a75c213b075d53fcfffcd6a063faa3 Mon Sep 17 00:00:00 2001 From: Nikolay Bachiyski Date: Fri, 23 Apr 2010 06:05:07 +0000 Subject: [PATCH] Do not force formatted number to int. Props brentes, fixes #10555 git-svn-id: https://develop.svn.wordpress.org/trunk@14192 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/functions.php | 1 - 1 file changed, 1 deletion(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index b6c90fd73e..7889338163 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -136,7 +136,6 @@ function date_i18n( $dateformatstring, $unixtimestamp = false, $gmt = false ) { */ function number_format_i18n( $number, $decimals = 0 ) { global $wp_locale; - $number = (int)$number; $formatted = number_format( $number, absint( $decimals ), $wp_locale->number_format['decimal_point'], $wp_locale->number_format['thousands_sep'] ); return apply_filters( 'number_format_i18n', $formatted ); }