Source code for file /pattemplate/patTemplate/Modifier/Numberformat.php
Documentation is available at Numberformat.php
* patTemplate modfifier Numberformat
// Check to ensure this file is within the rest of the framework
* patTemplate modfifier Numberformat
* formats dates and times according to a format string.
* Possible attributes are:
* See the PHP documentation for number_format() for
* @link http://www.php.net/manual/en/function.strftime.php
* @return string modified value
function modify($value, $params =
array())
return @number_format($value, $params['decimals'], $params['point'], $params['separator']);