Format Helper
Contains function is used in formatting string values.
This helper is loaded using the following code:
$this->load->helper('format');
The following function is available:
dollar('value', [include_cents])
Returns a dollar formatted string. The second parameter include_cents defaults to TRUE.
echo dollar('100000');
// $100,000.00
echo dollar('100000', FALSE);
// $100,000