From 83353b4880b6edc203b4d602c9778d26b685c300 Mon Sep 17 00:00:00 2001 From: x2000chevalier Date: Fri, 8 Oct 2004 20:35:24 +0000 Subject: [PATCH] use a thousand separator --- plugins/insert.getNbIns.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/insert.getNbIns.php b/plugins/insert.getNbIns.php index 905095b..8f335c1 100644 --- a/plugins/insert.getNbIns.php +++ b/plugins/insert.getNbIns.php @@ -18,7 +18,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: insert.getNbIns.php,v 1.3 2004-08-31 11:19:51 x2000habouzit Exp $ + $Id: insert.getNbIns.php,v 1.4 2004-10-08 20:35:24 x2000chevalier Exp $ ***************************************************************************/ /* @@ -37,6 +37,6 @@ function smarty_insert_getNbIns($params, &$smarty) ON a.matricule=i.matricule where i.deces = 0",$conn); list($stats_count)=mysql_fetch_row($result); mysql_free_result($result); - return "$stats_count"; + return number_format($stats_count, 0, ",", "."); } ?> -- 2.1.4