From b0ea0bf1634e697c7a2fbf509d4d75003dab5903 Mon Sep 17 00:00:00 2001 From: avl Date: Thu, 21 May 2009 15:51:33 +0300 Subject: [PATCH] default floatformat with comma as thousands_sep --- ipf/template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipf/template.php b/ipf/template.php index 6379ba4..c8828dc 100644 --- a/ipf/template.php +++ b/ipf/template.php @@ -101,7 +101,7 @@ function IPF_Template_timeFormat($time, $format='Y-m-d H:i:s'){ return date($format, $time); } -function IPF_Template_floatFormat($number, $decimals=2, $dec_point='.', $thousands_sep=' '){ +function IPF_Template_floatFormat($number, $decimals=2, $dec_point='.', $thousands_sep=','){ return number_format($number, $decimals, $dec_point, $thousands_sep); } -- 2.49.0