PHP mySQL Rechnung

Hallo, aus ner Datenbank wird eine Rechnung ausgelesen:

Nur sieht das ganze jetzt so aus:

Artikel 1 50 EUR (statt 50,00)
Artikel 2 2.77 EUR
Artikel 3 4.2 EUR (statt 4,20)

gibt es eine Möglichkeit das ganze im Standartformat ‚0,00 EUR‘ auszugeben.
(Vieleicht schon im mysql/SQL code, sonst halt mit php)

Kann man im SQL code schon festlegen, dass statt ‚.‘ ein ‚,‘ kommt.
(Sonst muss ich eben ‚streplace‘ nehmen)

Wichtiger Nachtrag
Das Problem mit dem 4.7 EUR tritt nur in dem feld Gesammtpreis auf.
(Anzahl*Einzelpreis as Gesammtpreis)!!!
Und auch bei der Errechnung des Gesammtbetrages
(sum(Anzahl*Einzelpr.) as Summe)!!!

Hallo,

bei PHP gehts mit

number_format: number_format($betrag,2,",",".")

Mehr Informationen unter:

http://de3.php.net/manual/de/function.number-format.php

Hallo,

SELECT CONCAT(FORMAT(spalte, 2), " EUR") …

http://dev.mysql.com/doc/mysql/en/miscellaneous-func…

Alexander