View Full Version : Cint function


sven2
06-20-2008, 01:36 AM
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.

sven2
06-20-2008, 01:54 AM
found it cdbl ...