Do number fields automatically round to whole number? Is there a way to stop it from rounding? I have tried setting the decimal places to 2 and it still rounds.
Table Field Rounding
Collapse
X
-
Tags: None
-
Originally posted by BurtonBachDo number fields automatically round to whole number? Is there a way to stop it from rounding? I have tried setting the decimal places to 2 and it still rounds. -
Good ay ,
I had a simular problem an after a few hours of fustration i just chanced the field to
a textbox , then on calculations I just use temp2 = Val(Me!quantity )
been working fine ever since and saves all the hassles related to access numeric formats
southozComment
-
Originally posted by SouthOzGood ay ,
I had a simular problem an after a few hours of fustration i just chanced the field to
a textbox , then on calculations I just use temp2 = Val(Me!quantity )
been working fine ever since and saves all the hassles related to access numeric formats
You're really much better off understanding what the problem really is about.
The field types can be your friends if you understand them.Comment
-
Hi
Using the val funcion with decimals is very dangerous...
Coz If your decimal separator is a comma, so the decimal part of your number is rounded....
It works good only with the dot :)
Originally posted by southozGood ay ,
I had a simular problem an after a few hours of fustration i just chanced the field to
a textbox , then on calculations I just use temp2 = Val(Me!quantity )
been working fine ever since and saves all the hassles related to access numeric formats
southozComment
-
I mean - we don't have the problem because our regional settings AREN'T like yours on the continent.
I wasn't arguing with you - just a little joke ;).
I wouldn't argue with someone who has over 1,000 posts on the Leader Board (Congratulation s).
-Adrian.Comment
-
In fact the strange history when I've detecting this particularity of Val...
In all computers where I'm working my regional Settings are to use the point as decimal separator...
One time from a company that used my accountancy program called me and told me for error in the calculations...
Till i understand what was the reason for this error...
JUST THE VAL() That is doing wrong ROUND
SO FOR EVERYBODY WHO CHANGES THE REGIONAL SETTINGS! TAKE CARE ABOUT THE FUNCTION VAL()
:)Comment
Comment