summaryrefslogtreecommitdiff
path: root/protected
diff options
context:
space:
mode:
Diffstat (limited to 'protected')
-rw-r--r--protected/components/Format.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/protected/components/Format.php b/protected/components/Format.php
index a4802e2..de92043 100644
--- a/protected/components/Format.php
+++ b/protected/components/Format.php
@@ -5,7 +5,8 @@ class Format {
}
public static function number($value, $einheit = '') {
- return Yii::app()->locale->numberFormatter->formatDecimal($value).' '.$einheit;
+ #return Yii::app()->locale->numberFormatter->formatDecimal($value).' '.$einheit;
+ return Format::decimal($value,"#.##0,00").' '.$einheit;
}
public static function decimal($value, $pattern = null) {