You dont write the dot
if ( $askprice > 0 ) $askprice = "{$Globals['currency']}" . number_format( $askprice, 2 );
We use php's build in number formatting. You can change it by changing the arguement a bit. More info found here
http://us3.php.net/manual/en/function.number-format.php