setProgress always went to zero

 because integer part of ( this.progress / this.maxProgress) always gives zero, just carried the "100" before di division. regards