summaryrefslogtreecommitdiff
path: root/protected/components
diff options
context:
space:
mode:
authorastaf <astaf@proxy.ccwn.org.ccwn.org>2013-05-17 11:30:59 +0200
committerastaf <astaf@proxy.ccwn.org.ccwn.org>2013-05-17 11:30:59 +0200
commita96e3f0a649b5331a7d76124d37c0b6907abcc4b (patch)
tree8c4274a1d147f779867d141abaff67092865efa8 /protected/components
parent91907913ffae859611b2316fbc55543ed3183889 (diff)
parent4761eb1fa30b895d1faa6f345fa0aa77779acfd0 (diff)
Merge branch 'master' of ssh://proxy:9044/home/ccwn/git-repos/admin.astaf.de
Diffstat (limited to 'protected/components')
-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) {