<font face="Verdana, Arial, Helvetica, sans-serif"><font size="2">
<?
$fee = $amount * (0.029);
$net = $fee + (0.30);
$total = $amount - $net;
echo "<b>Total Amount:</b> <br>$amount <br>";
echo "<b>Fee Amount:</b> <br>$net <br>";
echo "<b>Net Amount:</b> <br>$total";
?>
</font></font>
<form name="form1" method="post" action="<? $PHP_SELF; ?>">
<input name="amount" type="text" id="amount">
<input type="submit" name="Submit" value="Submit">
</form>
This is just a simple script im writing for paypal fees. How can I make the output selection format to 2 decimals?