Quellcode durchsuchen

[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 vor 14 Jahren
Ursprung
Commit
ad0d1d1e72
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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
         require_once 'Zend/Locale/Math.php';
 
-        $value             = Zend_Locale_Math::normalize($value);
         $value             = Zend_Locale_Math::floatalize($value);
+        $value             = Zend_Locale_Math::normalize($value);
         $options           = self::_checkOptions($options) + self::$_options;
         $options['locale'] = (string) $options['locale'];