|
-
Apr 11th, 2000, 06:48 PM
#1
Thread Starter
Lively Member
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
-
Apr 11th, 2000, 09:47 PM
#2
Frenzied Member
What database are you using?
-
Apr 12th, 2000, 09:07 AM
#3
Addicted Member
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.
-
Apr 12th, 2000, 06:23 PM
#4
Thread Starter
Lively Member
It's an Access Database.
Thanks Jcouture100 as this has solved the problem.
Mike
-
Apr 14th, 2000, 04:44 AM
#5
Junior Member
and also set the format to FIXED
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|