Am 21.05.2013 20:00, schrieb Oliver Westerheide:
number_format(doubleval($content), $conf['decimal'], $conf['dec_point'], $conf['thousands_sep'])
... ist die eigentliche Funktion, wo die Werte formatiert werden.

interessant ist, wie die Werte $conf['decimal'], $conf['dec_point'], $conf['thousands_sep'] dort verwendet werden, bzw. Parameter dort Auswirkungen haben. Ich gehe davon aus, daß es nicht kompliziert ist, sondern daß Du evtl. $conf['decimal'], $conf['dec_point'], $conf['thousands_sep'] einfach falsch konfiguriert hast.

DIe gepostete Funktion mit sprintf() bezog sich auf einen Text und ist daher belanglos.

_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an