/solar27/include/thirdparty/smarty/plugins/modifier.number_format.php
https://bitbucket.org/sebs/mosolar · PHP · 26 lines · 6 code · 3 blank · 17 comment · 0 complexity · 93654b5ad7f59c1a5dd7b84bf8fd7c8f MD5 · raw file
- <?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);
- }
- ?>