Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 1375 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 1375 Revision 1376
Zeile 27... Zeile 27...
27
        {
27
        {
28
            $fmt->setPattern( "#,##0.00" );
28
            $fmt->setPattern( "#,##0.00" );
29
        }
29
        }
30
        if ( $shortSymbol === false )
30
        if ( $shortSymbol === false )
31
        {
31
        {
32
            $fmt->setSymbol( NumberFormatter::CURRENCY_SYMBOL, NumberFormatter::CURRENCY_CODE );
32
            //$fmt->setSymbol( NumberFormatter::CURRENCY_SYMBOL, NumberFormatter::CURRENCY_CODE );
33
        }
33
        }
34
        $fmt->setAttribute( NumberFormatter::FRACTION_DIGITS, $places );
34
        $fmt->setAttribute( NumberFormatter::FRACTION_DIGITS, $places );
35
        return $fmt->format( $string );
35
        return $fmt->format( $string );
36
    }
36
    }