Cint function

sven2

Registered User.
Local time
Today, 06:21
Joined
Apr 28, 2007
Messages
297
Hello,

I want to check a value if it is between limits like:

If (CInt(Me.txtcontroleint) >= CInt(Me.txtminimum)) And (CInt(Me.txtcontroleint) <= CInt(Me.txtmaximum)) Then

Now it is so when I use the Cint function with the value 99,99 it becomes 100 and I don't want that to happen. Is there another function that keeps 99,99 like it is?

Thanks in advance,
Sven.
 

Users who are viewing this thread

Back
Top Bottom