# Adding 0.\* to x result isnt correct

**URL:** <https://forum.kirupa.com/t/adding-0-to-x-result-isnt-correct/318407>\
**Category:** flash\
**Created:** [January 19, 2011, 10:28am UTC](https://forum.kirupa.com/t/adding-0-to-x-result-isnt-correct/318407 "2011-01-19T10:28:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Macsy](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/macsy/32/3238_2.png) [@Macsy](https://forum.kirupa.com/u/Macsy)\
**Post date:** [January 19, 2011, 10:28am UTC](https://forum.kirupa.com/t/adding-0-to-x-result-isnt-correct/318407/1 "2011-01-19T10:28:59Z")

</div>

hey.  
This:

```auto

for (var i=0; i<10; i++){
	symb.x += 0.4;
	trace(symb.x);
}

```

Where symb is an movieclip on x 0 and y 0.  
the result of trace is:

```auto
0.4
0.8
1.2
1.6
2
2.4
2.8
**3.15** what happens here
3.55
3.95
4.35

```

This drives me crazy! if i extend the for loop to do 100 loops, it happens at moer places. Anybody, please!
