473,396 Members | 1,879 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

numbers rounding up in table

I have several tables that have numbers displaying 2 digits to the right of
the decimal. However, when I append these into a common table, all numbers
are suddenly rounded up to the nearest whole number. I tried to set at a
Fixed format , with the Decimal setting on both Auto and 2. It still rounds
up. Any ideas why?

Thanks,

Perry

--
Message posted via http://www.accessmonster.com
Jan 10 '06 #1
2 1739
Michael C via AccessMonster.com wrote in message <5a2b5211322dc@uwe> :
I have several tables that have numbers displaying 2 digits to the right of
the decimal. However, when I append these into a common table, all numbers
are suddenly rounded up to the nearest whole number. I tried to set at a
Fixed format , with the Decimal setting on both Auto and 2. It still rounds
up. Any ideas why?

Thanks,

Perry


Perhaps the field size property - I'm guessing you have Integer, while
you would need Single, Double or the datatype Currency.

--
Roy-Vidar
Jan 10 '06 #2
Thanks, that worked. Changed it to double and it works now.

RoyVidar wrote:
Michael C via AccessMonster.com wrote in message <5a2b5211322dc@uwe> :
I have several tables that have numbers displaying 2 digits to the right of
the decimal. However, when I append these into a common table, all numbers

[quoted text clipped - 5 lines]

Perry


Perhaps the field size property - I'm guessing you have Integer, while
you would need Single, Double or the datatype Currency.


--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200601/1
Jan 11 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Nobody | last post by:
How does one round a float? ie... 4.4 returns 4, while 4.5 returns 5. I see the floor and ceiling functions, but that floor would take 4.4 and return 4 and ceiling would return 5. I guess I could...
17
by: Dooglo | last post by:
I've forgotten. How do I round off numbers from an equation or round off to the third decimal point for instance. eg. answers number is 12345.678910
2
by: Jiri Nemec | last post by:
Hello all, I have got one table with rounding values, table contains prices and round types. id price_from price_to rounding 1 0 1500 0.1 2 1500 ...
6
by: TORQUE | last post by:
Hi, Can anyone tell me how to remove or change the automatic rounding of numbers in a box. The box has already been tested with General Number, Fixed, and Standard Formatting with the decimal...
1
by: sconnors | last post by:
I am currently working on an application that runs on Windows XP SP2 with .NET 2.0, Linux 2.4.19-16mdkenterprise and Solaris 5.9. The language is C++. When I compare the output numbers, Windows...
4
by: Army1987 | last post by:
In the FAQ I read: If you just need to do something with probability 1/N, you could use if(rand() < (RAND_MAX+1u) / N) This has an obvious bias problem which is easily fixed (not perfectly,...
1
by: mcneilkm | last post by:
Hi all, I am a newby to this forum. I am making modifications to an existing database. The structure is basicall one primary record in a main table with many associated records in a second...
30
by: bdsatish | last post by:
The built-in function round( ) will always "round up", that is 1.5 is rounded to 2.0 and 2.5 is rounded to 3.0. If I want to round to the nearest even, that is my_round(1.5) = 2 # As...
2
by: asutic | last post by:
Hi. I've encountered a problem with rounding which I cannot resolve elegantly and I has hoping that somebody could help me out. Here's the problem description: We are given 4 numbers a, b, c,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.