<?
$amount = $row["amount"];
$fsize="60";
if (intval($amount)==floatval($amount))
{
$s_amount=strval($amount);
}
else
{
$s_amount=money_format('%.2n', $amount);
}
if (strlen($s_amount)>3) $fsize="46";
?>
<span style=" font:bold <? echo $fsize; ?>px arial; text-align:center; color:#FFF;"> $<? echo $s_amount; ?> </span>
|