forked from halo-battle/game
Version 1.14a
This commit is contained in:
parent
ba8f323879
commit
dc48225dc9
1094 changed files with 189052 additions and 13889 deletions
|
|
@ -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: */
|
||||
|
||||
?>
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue