I have the following code where I have a value that is defined, but when I try to do any shorthand equation on it, it returns 0.

Ternary operation
-----------------

```
$m = 1.10;
echo 'Markup Percentage : ' . ( $m > 1 ? ($m * 100) - 100 :  'N/A' ) + ' %';

```

Result:

> 
> Markup Percentage : 0 %
> 
> 
> 

---

Standard operation.
-------------------

```
$m = 1.10;

echo 'Markup Percentage : ';    
if($m > 1) {
   echo ($m * 100) - 100;
} else {
   echo 'N/A';
}
echo ' %';

```

> 
> Markup Percentage : 10 %
> 
> 
> 

---

In case it isn't obvious, the result of the Ternary operation should be the same as the standard operation. What am I doing wrong or is this a bug in php 5.4 ?