Browse Source

[ZF-11630]: Problem with Zend_Locale_Format::toNumber and small floats (scientific notation)

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@24323 44c647ce-9c0f-0410-b52a-842ac1e357ba
mikaelkael 14 years ago
parent
commit
ad0d1d1e72
1 changed files with 1 additions and 1 deletions
  1. 1 1
      library/Zend/Locale/Format.php

+ 1 - 1
library/Zend/Locale/Format.php

@@ -300,8 +300,8 @@ class Zend_Locale_Format
         // load class within method for speed
         // load class within method for speed
         require_once 'Zend/Locale/Math.php';
         require_once 'Zend/Locale/Math.php';
 
 
-        $value             = Zend_Locale_Math::normalize($value);
         $value             = Zend_Locale_Math::floatalize($value);
         $value             = Zend_Locale_Math::floatalize($value);
+        $value             = Zend_Locale_Math::normalize($value);
         $options           = self::_checkOptions($options) + self::$_options;
         $options           = self::_checkOptions($options) + self::$_options;
         $options['locale'] = (string) $options['locale'];
         $options['locale'] = (string) $options['locale'];