function pointsToRealDollars( points, exchange_rate )
{
	return (Math.round(((points / exchange_rate) * 100)) / 100);
}

function currencyString( currency_amount )
{
	if( /^[^.]*$/.test(currency_amount.toString()) )
	{
		return currency_amount.toString() + '.00';
	}
	else if( /[.]\d$/.test(currency_amount.toString) )
	{
		return currency_amount.toString() + '0';
	}

	return currency_amount;
}
