diff --git a/lib/Cake/Utility/CakeNumber.php b/lib/Cake/Utility/CakeNumber.php index 2829016be00..012b7a99861 100644 --- a/lib/Cake/Utility/CakeNumber.php +++ b/lib/Cake/Utility/CakeNumber.php @@ -149,7 +149,7 @@ public static function format($number, $options = false) { extract($options); } - $out = $before . self::_number_format($number, $places, $decimals, $thousands) . $after; + $out = $before . self::_numberFormat($number, $places, $decimals, $thousands) . $after; if ($escape) { return h($out); @@ -166,7 +166,7 @@ public static function format($number, $options = false) { * @param string $thousands * @return string */ - protected static function _number_format($number, $places = 0, $decimals = '.', $thousands = ',') { + protected static function _numberFormat($number, $places = 0, $decimals = '.', $thousands = ',') { if (!isset(self::$_numberFormatSupport)) { self::$_numberFormatSupport = version_compare(PHP_VERSION, '5.4.0', '>='); }