Quantity increases.. not working

var qty = (5 + (Math.round(_root.myTimer/10)-1));

why is this wrong?

‘myTimer’ increases…

‘qty’ is used to determine a number of enemies.

not working.