Hi

I am trying to increment a number by 0.1 but the return value is slightly out and I have no idea why -- here is code

///////////////////////////////////////////
var speed:Number = 100

addEventListener (Event.ENTER_FRAME,spin)

function spin(e:Event){

speed -= 0.1
trace (speed)
}
///////////////////////////////////////////
traces

99.9
99.80000000000001
99.70000000000002
99.60000000000002
99.50000000000003
99.40000000000003
99.30000000000004
99.20000000000005
99.10000000000005
////////////////////////////////////////////////////////
I need it to output 99.9, 99.8, 99.7 etc -- I know I could smooth out the
to my requirements, but why is it not returning exact amount?? --

thanks