SproutCMS

This is the code documentation for the SproutCMS project

function numberFormat()

Formats numbers, like the interal number_format function

Usage

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

Arguments

  1. int|float $number
    The number to format
  2. int $precision = 0
    The number of decimal places to render

Return value

  • string