diff options
| author | Patrick Seeger <pseeger@ccwn.org> | 2013-05-17 11:23:34 +0200 |
|---|---|---|
| committer | Patrick Seeger <pseeger@ccwn.org> | 2013-05-17 11:23:34 +0200 |
| commit | 815ae4aaf09f3870530c7a5c6ae66d3811ed84a2 (patch) | |
| tree | 4481113f64b2e504676086873d606c13ad597db0 | |
| parent | 90cd9ea89a1e9efffba0eeffadb57d1d37ef98b9 (diff) | |
Format einheiten korrigiert
| -rw-r--r-- | protected/components/Format.php | 3 |
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) { |
