rounding up

R

Richard

Hi

I have a field that I want the user to enter as whole numbers only. for e.g
1day or 2 day but not 0.5 or 1.5. Tried the rounding up function but seems
to be very complicated...:)

I tried using :
If Right(Cstr(field),2)=".5" then msgbox...

How do I check for .1 to .9 in code?

Thanks in advance
Richard
 
Top