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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

percent rounding to 100 on report - why?

Status
Not open for further replies.

fredk

Technical User
Jul 26, 2001
708
US
I have a table that has a field that I want to be a percent - This is keyed in monthly and gives the percentage of goal for each sales rep.

I currently have it as a number (long integer) formatted as a percent.

I run a query that pulls this information along with information from another table.

When the data shows up in the report, it shows as 100% even though all numbers are .83 to .89 - How can I get it to not round to 100% ????

Not sure if this makes a difference but the tables are housed somewhere else and just linked to where I am running the reports -

This is one of those that I just can't figure out even though I know that there must be an easy answer.

Thanks in advance for your help!!!!!

 
I think the problem is that you're using a long integer type, as in 0, 1, 2, 3, 4. . . Because an integer can't represent a fraction of a number, all of your xx/100 percentages are getting rounded up to 1.

Try changing the field type from Long Integer to Single, which allows you to use decimals. -- Herb
 
Hank - Thanks a million - That did it -
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top