/solar27/include/thirdparty/smarty/plugins/modifier.number_format.php
PHP | 26 lines | 6 code | 3 blank | 17 comment | 0 complexity | 93654b5ad7f59c1a5dd7b84bf8fd7c8f MD5 | raw file
Possible License(s): LGPL-2.1, AGPL-3.0, BSD-3-Clause, LGPL-2.0, MIT, GPL-2.0
- <?php
- /**
- * Smarty plugin
- * @package Smarty
- * @subpackage plugins
- */
- /**
- * Smarty upper modifier plugin
- *
- * Type: modifier<br>
- * Name: number_format<br>
- * Purpose: convert string to uppercase
- * @link http://smarty.php.net/manual/en/language.modifier.number_format.php
- * number_format (Smarty online manual)
- * @author Yanick Bourbeau <ybourbeau at mrgtech dot ca>
- * @param string
- * @return string
- */
- function smarty_modifier_number_format($string)
- {
- return number_format($string);
- }
- ?>