M
M Skabialka
I have a query where hours assigned and a sum of hours used is calculated
for a report. Another field in the query subtracts used from assigned but
sometimes I get strange results:
HoursAssigned SumOfHoursWorked HoursRemaining
5.5 1.25 4.25
6 1.25 4.75
125.2 125.2 1.4210854715202E-14
198.5 146 52.5
198.5 122 76.5
10 5 5
129 129 0
Why would I get 1.4210854715202E-14 when it should be 0?
I prefer not to force a format, to make the report simpler to read, so we
see 5, not 5.00.
Thanks,
Mich
for a report. Another field in the query subtracts used from assigned but
sometimes I get strange results:
HoursAssigned SumOfHoursWorked HoursRemaining
5.5 1.25 4.25
6 1.25 4.75
125.2 125.2 1.4210854715202E-14
198.5 146 52.5
198.5 122 76.5
10 5 5
129 129 0
Why would I get 1.4210854715202E-14 when it should be 0?
I prefer not to force a format, to make the report simpler to read, so we
see 5, not 5.00.
Thanks,
Mich