From 815ae4aaf09f3870530c7a5c6ae66d3811ed84a2 Mon Sep 17 00:00:00 2001
From: Patrick Seeger <pseeger@ccwn.org>
Date: Fri, 17 May 2013 11:23:34 +0200
Subject: Format einheiten korrigiert

---
 protected/components/Format.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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) {
-- 
cgit v1.0-28-g1787

