Click to See Complete Forum and Search --> : Easy and Stupid Question But.......
Spawny
Apr 11th, 2000, 06:48 PM
Hi,
I am having a problem with my database. It seems to be rounding up numbers. I have the field in the database as a number with 2 decimal places. If I enter in 7.6 it rounds it up to 8. How can I fix this?
Thanks in advance.
Mike
JHausmann
Apr 11th, 2000, 09:47 PM
What database are you using?
jcouture100
Apr 12th, 2000, 09:07 AM
Hi,
You'll be happy to know that it's simple to fix. When you define your field as a number, the default type is Long Integer (look at the Field Size). An integer doesn't have any decimal places so it rounds the number you enter. To fix this, change the Number type (field size) to either Single or Double, depending on your needs.
Hope this helps.
Spawny
Apr 12th, 2000, 06:23 PM
It's an Access Database.
Thanks Jcouture100 as this has solved the problem.
Mike
hlieu
Apr 14th, 2000, 04:44 AM
and also set the format to FIXED
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.