﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
2809	inconsistent work of the For...To...Step...Next loop	anonymous		"In the following example the loop doesn't work as is expected. First loop (For $i=0 To 1 Step 0.1) runs eleven times, as it should, but the second one (For $i=1 To 2 Step 0.1) runs only ten times. Doesn't seem quite right, does it.
Such error also occurs when using some other non-integer values for the Step, and also when difference between X and Y in {For $i=X To Y Step <non-integer>} is bigger than 1(one).

{{{
$c=0
ConsoleWrite('from 0 to 1 step 0.1'&@cr)
for $i=0 to 1 step 0.1
	ConsoleWrite($i& ', ')
	$c+=1
next
ConsoleWrite(@cr&'counter = '&$c&@cr&@cr)

$c=0
ConsoleWrite('from 1 to 2 step 0.1'&@cr)
for $i=1 to 2 step 0.1
	ConsoleWrite($i& ', ')
	$c+=1
next
ConsoleWrite(@cr&'counter = '&$c&@cr&@cr)
}}}"	Bug	closed		AutoIt	3.3.12.0	None	No Bug		
