Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
loop using double
I have the following sub.
Sub test() Dim i As Double Dim j As Double j = 0.2 For i = -3 To 3 Step j Debug.Assert i < 3 Debug.Print i Next End Sub If I run this code the last step 3 will not run. If I modify I to 2.5 it does. What's going on? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Double Double Quotes | Excel Programming | |||
Help with double loop | Excel Programming | |||
double axis, double problem (i hope only to me) | Charts and Charting in Excel | |||
Help with "double" loop! | Excel Programming | |||
double loop madness - help with macro | Excel Programming |