I did a search on "display formats, field data" in the MS Access help index. It looks as if you can get your data to display the way you want by defining a format property along with a DecimalPlaces property.
It is always nice to know the program in use. This is the ANSI SQL forum and thus I proposed an ANSI SL solution. Access is not quite ANSI 92 compliant.
There are a few ways to format data in Access.
As suggested, you can use the Format function.
SELECT Format(SUM(Time1 + Time2) / 8, "0.00" AS Summe
FROM TimeTable;
OR
SELECT Format(SUM(Time1 + Time2) / 8, "FIXED" AS Summe
FROM TimeTable;
You can use the Round function.
SELECT Round(SUM(Time1 + Time2) / 8, 2) AS Summe
FROM TimeTable; Terry
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.