If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Number format issue Access 2007
Access 2007.
I've created a database with a number input and I'm getting the following errors. I've formatted a field as Number Field Size: Single Format: Currency Decimal Places: 0 I'm getting the following results Input 2,065,000,000 but it's rounding it to 2,064,999,936 Input 2,682,000,000 but getting rounded to 2,681,999,872 Any ideas on the reason for this? Do I have that field formatted properly? You help is GREATLY appreciated! (B^)-]=[ |
#2
|
|||
|
|||
Number format issue Access 2007
Single is a floating point type.
Accuracy is only 7 or 8 significant digits. More info: http://en.wikipedia.org/wiki/Floatin...uracy_problems If you want to store large numbers as per your entry, consider using a Currency field, a Double, or a Decimal field. -- Allen Browne - Microsoft MVP. Perth, Western Australia Tips for Access users - http://allenbrowne.com/tips.html Reply to group, rather than allenbrowne at mvps dot org. "WSR" wrote in message ... Access 2007. I've created a database with a number input and I'm getting the following errors. I've formatted a field as Number Field Size: Single Format: Currency Decimal Places: 0 I'm getting the following results Input 2,065,000,000 but it's rounding it to 2,064,999,936 Input 2,682,000,000 but getting rounded to 2,681,999,872 Any ideas on the reason for this? Do I have that field formatted properly? You help is GREATLY appreciated! (B^)-]=[ |
#3
|
|||
|
|||
Number format issue Access 2007
Thanks Allen.
Putting your solution to work. Regards, (B^) "Allen Browne" wrote in message ... Single is a floating point type. Accuracy is only 7 or 8 significant digits. More info: http://en.wikipedia.org/wiki/Floatin...uracy_problems If you want to store large numbers as per your entry, consider using a Currency field, a Double, or a Decimal field. -- Allen Browne - Microsoft MVP. Perth, Western Australia Tips for Access users - http://allenbrowne.com/tips.html Reply to group, rather than allenbrowne at mvps dot org. "WSR" wrote in message ... Access 2007. I've created a database with a number input and I'm getting the following errors. I've formatted a field as Number Field Size: Single Format: Currency Decimal Places: 0 I'm getting the following results Input 2,065,000,000 but it's rounding it to 2,064,999,936 Input 2,682,000,000 but getting rounded to 2,681,999,872 Any ideas on the reason for this? Do I have that field formatted properly? You help is GREATLY appreciated! (B^)-]=[ |
Thread Tools | |
Display Modes | |
|
|