Closed
Description
There seems to be a bug with the price calculation MCE 1.9.1.0 when using HHVM 3.4.2 in fcgi mode, even with enabled
hhvm.enable_zend_sorting=1
See the related issue
facebook/hhvm#4630
*Tracked down -> Mage_Core_Helper_Data *
/**
* Convert and format price value for specified store
*
* @param float $value
* @param int|Mage_Core_Model_Store $store
* @param bool $format
* @param bool $includeContainer
* @return mixed
*/
public static function currencyByStore($value, $store = null, $format = true, $includeContainer = true)
{
try {
if (!($store instanceof Mage_Core_Model_Store)) {
$store = Mage::app()->getStore($store);
}
echo $value.'<br />';
$value = $store->convertPrice($value, $format, $includeContainer);
die($value);
}
catch (Exception $e){
$value = $e->getMessage();
}
return $value;
}
Output
1.4800
14.800.000,00 €
Prices are high atm :)
Will track it down deeper and inspect the convertPrice method.