SproutCMS

This is the code documentation for the SproutCMS project

function moneyFormat()

Formats currency values, similar to the interal number_format function

Usage

string $LocaleInfo->moneyFormat ( int|float $number [, int $precision ] );

Arguments

  1. int|float $number
    The number to format
  2. int $precision = NULL
    The number of decimal places to render; if NULL then it's locale-dependent

Return value

  • string