MySQL Forums
Forum List  »  German

SUM liefert keine Nachkommastellen
Posted by: Jörg Arndt
Date: February 22, 2019 12:16PM

Moin,
ich habe Base als Frontend und greife damit auf eine MySQL-Datenbank zu. Die Daten darin sind von Access importiert.
Ein Feld enthält Beträge in der Form "15,35€" und ist im Textformat.
Ich möchte die Summen bilden, die zu bestimmten Ausgaben gehören. Das funktioniert mit Sum(Betrag) und der entsprechenden Gruppierung auch soweit - nur fehlt im Ergebnis das Komma und die Cents. Woran liegt das?
Direkt auf der MySQL-Workbench ist das Ergebnis dasselbe.

Options: ReplyQuote


Subject
Views
Written By
Posted
SUM liefert keine Nachkommastellen
618
February 22, 2019 12:16PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.