# Is actionscript selfish lol?

**URL:** <https://forum.kirupa.com/t/is-actionscript-selfish-lol/300622>\
**Category:** flash\
**Created:** [November 24, 2009, 7:30pm UTC](https://forum.kirupa.com/t/is-actionscript-selfish-lol/300622 "2009-11-24T19:30:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Killya](https://avatars.discourse-cdn.com/v4/letter/k/779978/32.png) [@Killya](https://forum.kirupa.com/u/Killya)\
**Post date:** [November 24, 2009, 7:30pm UTC](https://forum.kirupa.com/t/is-actionscript-selfish-lol/300622/1 "2009-11-24T19:30:07Z")

</div>

I have this script:

```auto
on(release){
 _global.combospeed -= 0.1;
}

```

and the same with + version.  
I also have a dynamic text where the combospeed is show.  
But when I do - 0.1 at 9.6 --\> 9.5 it doesnt subtract by 0.1, but by 0.0999999999  
WHY?!  
it also adds 0.099999999 at 9.5 --\> 9.6  
WTF is wrong with actionscript? xD
