set a class property as a float or decimal value when being echo'd
<p>i'm curious how something like this would work</p>

<pre><code>class Test
{
    public $price;
}

$obj = new Test();
$obj-&gt;price = 4500.00;

echo $obj-&gt;price;
</code></pre>

<p>how can I return that value as <code>4500.00</code> and not <code>4500</code>?</p>
