473,414 Members | 1,944 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,414 software developers and data experts.

how to store a decimal number which is not a currency in a table field

17
Hi,

I have a field in a table the property of which i have set as a general number with 3 decimal places. I want to enter a weight 1.265 tons but the decimal place do not work.The number gets round up. I do not want to set its property as currency

please help me how to do it.
Nov 6 '06 #1
6 12556
VALIS
21
Hi,

I have a field in a table the property of which i have set as a general number with 3 decimal places. I want to enter a weight 1.265 tons but the decimal place do not work.The number gets round up. I do not want to set its property as currency

please help me how to do it.
Have you changed the SCALE property in the general properties tab?
It needs to e set to 3 to give 3 decimal places.
Nov 6 '06 #2
NeoPa
32,556 Expert Mod 16PB
Set 'Field Size' property to Double and set 'Format' & 'Decimal Places' properties how you need them.
Nov 6 '06 #3
Killer42
8,435 Expert 8TB
Set 'Field Size' property to Double and set 'Format' & 'Decimal Places' properties how you need them.
Depending on your data, you might also want to consider Single.
Nov 6 '06 #4
mukesh
17
Have you changed the SCALE property in the general properties tab?
It needs to e set to 3 to give 3 decimal places.
I can't see the SCALE property in the General proeperty tab. Will u explain me step by step
Nov 7 '06 #5
pragatiswain
96 Expert
1. Open your Access database.
2. Go to the table and (single) Click on the table and click on the design.
3. Click on the datatype of the Field to be changed and select it to be Number.
4. In the General Tab at the bottom, set the field size Double, Format General Number, Decimal Places to 3 or Auto based on your requirements.

Hope this helps
Nov 17 '06 #6
rvsa
1
Thank you. It worked.
Apr 15 '18 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Ordz | last post by:
I want to write a program that will take a decimal with up to 4 places and convert it to 1/16 ths. I can sort of do that with: n = 375 * 16 / 1000 Print n; "/16" I am planning to use an input...
13
by: jm | last post by:
I am trying to use datepart to get the real name of the month like "April" or "APR" not just "4." I could not find it in the documentation. Sorry. Thank you.
2
by: RC | last post by:
I am getting input from a digital scale and if the weight on the scale is 9.25 pounds, the input looks like: 009.25LB I need to remove the LB and the leading zeros and have the remaining value...
3
by: Brenny | last post by:
Hello I'm developing a project by using access database and there is a table(Table1) and it has a field(ml_mik) this is the decimal field. I'm taking a value from windows form as a decimal...
5
by: Roy Gourgi | last post by:
Hi, I am used to working in Visual FoxPro and I would like to be able to create a database and store and retrieve information from it. What is the simplest way to do it and what should I be...
1
by: Andy Jenkins | last post by:
I'm thinking this ought to be easy (just not for me - lol). Field Price has values like this: 12500 9999 12999 105099 What's happened is that the person who originally populated it...
2
by: pvong | last post by:
Newbie learning VB.Net. I have a simple DataReader and I can grab the info. The data is in numeric format like 123.99 and I want a TextBox to just display it just like that. When I use the code...
4
by: ApexData | last post by:
I have a field set to 1 decimal place in the table definition. I have a textbox bound to the field also set to 1 decimal place. Why can I enter the number 1.57 in the textbox, and this becomes...
4
by: ChipR | last post by:
I have a table with currency fields set to 2 decimal places. My query has Percent: IIf(=0 Or IsNull(),0,/*100) Even with a balance and estimate with 1 digit decimals I'm getting 13 digits...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.