Originally posted by MidgetsBro
Try this with the Val() function:
VB Code:
  1. For i = 0.2 To 0.3 Step 0.01
  2.   If Val(i) = 0.25 Then
  3.     Form1.Print "0.25 - Yay! :)"
  4.   Else
  5.     Form1.Print i
  6.   End If
  7. Next

[edit]
Dammit... a day late and a dollar short...
beat ya'

Anyway... have a look at this thread Why is this false?