public static function toNumber($value, array
$options = array
()) { // load class within method for speed
$value = Zend_Locale_Math::
floatalize($value);
$value = Zend_Locale_Math::
normalize($value);
$options = self::
_checkOptions($options) + self::
$_options;
$options['locale'
] =
(string) $options['locale'
];
// Get correct signs for this locale
$symbols = Zend_Locale_Data::
getList($options['locale'
], 'symbols'
);
$oenc = self::
_getEncoding();
self::
_setEncoding('UTF-8'
);
// Get format
$format =
$options['number_format'
];