Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Wierd error in calculation in a report!!

Status
Not open for further replies.

smile82

Programmer
Jul 13, 2006
1
US
Hi people,
Thanks for looking into my question!
I am trying to execute a calculation in a report like:
Sum([CountOfDATE])/Reports![ReportA]![txtbox]
This calculation seems to work fine with all values except for those whose answer is in 100th decimal place.
meaning:
If Sum([CountOfDATE])=2
and If Reports![ReportA]![txtbox] = 76
The Answer should be 2/76=0.02631 but IT SHOWS the answer as 2.631
If Sum([CountOfDATE])=20
and If Reports![ReportA]![txtbox] = 76
The answer it shows is right ie 20/76 = 0.263
So the error occurs for answers which look like 0.0xxx and it shows it as x.xxx
Could anybody pls help?
Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top