I have written a query that does a simple division funtion, however the results always round down. I would like it to show the value in its entirity. The SQL is:
SELECT Registration.[Room Type] AS Label, Count(Registration.[Room Type]) AS [Count], [Count]\[RoomValue] AS Dividend
FROM Registration INNER JOIN RoomType ON Registration.[Room Type] = RoomType.[Room Type]
GROUP BY Registration.[Room Type], RoomType.RoomValue;
and my reults are:
Label Count Dividend
Double 171.00 85
Double w/ Rollaway 25.00 8
Other 23.00 23
Single 19.00 19
Suite 3.00 3
SELECT Registration.[Room Type] AS Label, Count(Registration.[Room Type]) AS [Count], [Count]\[RoomValue] AS Dividend
FROM Registration INNER JOIN RoomType ON Registration.[Room Type] = RoomType.[Room Type]
GROUP BY Registration.[Room Type], RoomType.RoomValue;
and my reults are:
Label Count Dividend
Double 171.00 85
Double w/ Rollaway 25.00 8
Other 23.00 23
Single 19.00 19
Suite 3.00 3