* Name: separenombre
* Date: Aug 22, 2008 * Purpose: separe number * Example: {$text|separenombre} * @version 1.0 * @author Nemunaire * @param string * @return string */ function smarty_modifier_separenombre($string) { return number_format(floor($string), 0, ',', ' '); } /* vim: set expandtab: */ ?>