Version 1.14a

This commit is contained in:
nemunaire 2020-11-15 16:12:32 +01:00
commit dc48225dc9
1094 changed files with 189052 additions and 13889 deletions

View file

@ -7,23 +7,22 @@
/**
* Smarty plugin
* Smarty separe number modifier plugin
*
* Type: modifier<br>
* Name: separenombre<br>
* Date: Aug 22, 2008
* Purpose: separe number
* Example: {$text|separenombre}
* Example: {$int|separenombre}
*
* @version 1.0
* @author Nemunaire <nemunaire at gmail dot com>
* @param string
* @param float $
* @return string
*/
function smarty_modifier_separerNombres($string)
function smarty_modifier_separerNombres($int)
{
return number_format(floor($string), 0, ',', ' ');
return number_format(floor($int), 0, ',', ' ');
}
/* vim: set expandtab: */
?>
?>