How to Truncate

latex88

Registered User.
Local time
Today, 15:22
Joined
Jul 10, 2003
Messages
198
I cannot find a built-in function in Access. Does somesone know how to truncate numbers? For example,

5.568 = 5
4.345 = 4
 
Hi -

Lookup the Int() function in your HelpFile. Examples:

x = 5.568
y = int(x)
? y
5

x = 4.345
y = int(x)
? y
4

HTH - Bob
 
well, that was easy. Thanks.
 

Users who are viewing this thread

Back
Top Bottom