* Name: money
* Date: Jui 17, 2007
* Purpose: convert to d.dd
* Input:
* - contents = contents to replace
* - preceed_test = if true, includes preceeding break tags
* in replacement
* Example: {$text|money}
* @link
* money (Smarty online manual)
* @version 1.0
* @author Julien Lacroix
* @param string
* @return string
*/
function smarty_modifier_money($string)
{
return money_format('%i', $string);
}
/* vim: set expandtab: */
?>