- Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.16
- Parse error: syntax error, unexpected '=' in /in/COp7b on line 7
Process exited with code 255.
<?php
$a='26.15';
$b='0.00';
if ($a && $b) {
$discount = @round($promotion_temp * 10 / $price_temp, 2);
if(empty($discount))discount='';
$discount = "" . $discount;
echo $discount;
}else{
echo 'fail';
}