i have a script which needs completing in less than 6 hours.. but it seems as though flash cant count numbers (or so it seems)

take a look at this:

PHP Code:
= new Number(10);
= new Number(10);
acc_indent = new Number (0.001);
///////////////
calculate = new Object();
calculate.num_list = new Array();
///////////////
count = new Number;
while (
count<(a/2) && count<(b/2)) {
    
calculate.num_list.push(count)
    
count =+acc_indent;
}

trace(calculate.num_list.join(" \r ")) 
note: "a" and "b" wont always be the same number

the very first part of my script is the code above. while (count<(a/2) && count<(b/2)) it adds all decimals to the array with an offset

eg. if acc_indent = 0.1
it gives all the numbers from 0 to 5 to one decimal place:

0
0.1
0.2
0.3 etc...


i need my numbers to the nearest 0.001, however, flash just cant do it! it does some of the correct decimals, and then starts returning RANDOM decimals????? eg. 4.78999999999994

why? please help