From: avl Date: Thu, 21 May 2009 12:51:33 +0000 (+0300) Subject: default floatformat with comma as thousands_sep X-Git-Tag: 0.5~399 X-Git-Url: https://git.andy128k.dev/?a=commitdiff_plain;h=c7e48b3b91e0b4724020ebc4fe6289be59ed665d;p=ipf.git default floatformat with comma as thousands_sep --- 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); }